{"id":"CVE-2018-11786","published":"2018-09-18T14:00:00Z","modified":"2024-09-17T02:12:17Z","title":"In Apache Karaf prior to 4.2.0 release, if the sshd service in Karaf is left on so an administrator can manage the…","vendor":"Apache","product":"Apache Karaf","tier":"tail","description":{"text":"In Apache Karaf prior to 4.2.0 release, if the sshd service in Karaf is left on so an administrator can manage the running instance, any user with rights to the Karaf console can pivot and read/write any file on the file system to which the Karaf process user has access. This can be locked down a bit by using chroot to change the root directory to protect files outside of the Karaf install directory; it can be further locked down by defining a security manager policy that limits file system access to those directories beneath the Karaf home that are necessary for the system to run. However, this still allows anyone with ssh access to the Karaf process to read and write a large number of files as the Karaf process user.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01904,"percentile":0.80227,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9%40%3Cdev.karaf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://issues.apache.org/jira/browse/KARAF-5427","tags":["x_refsource_CONFIRM"]},{"url":"http://karaf.apache.org/security/cve-2018-11786.txt","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":16.05}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Karaf","versions":["prior to 4.2.0 release"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.karaf:apache-karaf","vulnerableRanges":["<4.2.0"],"patched":["4.2.0"],"from":["GHSA-9448-c9wq-jg9v"],"provenance":"source"}],"summary":{"text":"In Apache Karaf prior to 4.2.0, the sshd service that administrators use to manage a running instance exposes a flaw in the Karaf console. Any user with rights to that console can pivot to read and write any file on the file system that the Karaf process user can access, unless the deployment has been restricted with chroot or a security manager policy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:00Z"},"euvd":{"id":"EUVD-2018-0805","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-8750","published":"2018-02-19","fixed":"4.0.8","kev":false},{"cve":"CVE-2014-0219","published":"2017-11-15","fixed":"4.0.10","kev":false},{"cve":"CVE-2018-11787","published":"2018-09-18","fixed":"4.1.1","kev":false,"link":{"from":"CVE-2018-11787","to":"CVE-2018-11786","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.karaf:apache-karaf","fromFixed":"4.1.1","toFixed":"4.2.0","daysApart":0}]}},{"cve":"CVE-2018-11786","published":"2018-09-18","fixed":"4.2.0","kev":false},{"cve":"CVE-2019-0191","published":"2019-03-20","fixed":"4.2.3","kev":false,"link":{"from":"CVE-2018-11786","to":"CVE-2019-0191","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.karaf:apache-karaf","fromFixed":"4.2.0","toFixed":"4.2.3","daysApart":183}]}},{"cve":"CVE-2022-22932","published":"2022-01-26","fixed":"4.3.6","kev":false},{"cve":"CVE-2022-40145","published":"2022-12-21","fixed":"4.4.2","kev":false}],"package":"Maven:org.apache.karaf:apache-karaf"}}