{"schemaVersion":4,"id":"CVE-2018-11786","aliases":["GHSA-9448-c9wq-jg9v"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-09-18T14:00:00.000Z","modified":"2024-09-17T02:12:17.084Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.01904,"percentile":0.80427,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01904},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0203,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01904,"percentile":0.80427}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01904,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01904,"percentile":0.80427}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-269","name":"Improper Privilege Management","description":"The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/269.html"}],"affected":[{"vendor":"apache software foundation","product":"apache karaf","name":"Apache Karaf","label":"apache karaf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"prior to 4.2.0 release","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"prior to 4.2.0 release","startInclusive":true,"end":"prior to 4.2.0 release","endInclusive":true}}],"versionsText":"prior to 4.2.0 release","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_karaf"},{"vendor":"apache","product":"karaf","name":"karaf","label":"karaf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.2.0","endInclusive":false}}],"versionsText":"< 4.2.0","eol":null,"hubHref":"/vendor/apache/karaf"},{"vendor":"org.apache.karaf","product":"apache-karaf","name":"org.apache.karaf:apache-karaf","label":"apache-karaf","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.karaf/apache-karaf","purlType":"maven","versions":[{"text":"< 4.2.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.2.0","endInclusive":false}}],"versionsText":"< 4.2.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9%40%3Cdev.karaf.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://issues.apache.org/jira/browse/KARAF-5427","label":"issues.apache.org/jira/browse/KARAF-5427","hostname":"issues.apache.org","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Vendor Advisory","WEB"]},{"url":"http://karaf.apache.org/security/cve-2018-11786.txt","label":"karaf.apache.org/security/cve-2018-11786.txt","hostname":"karaf.apache.org","tags":["X Refsource CONFIRM","Patch","Vendor Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11786","label":"nvd.nist.gov/vuln/detail/CVE-2018-11786","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-9448-c9wq-jg9v","label":"github.com/advisories/GHSA-9448-c9wq-jg9v","hostname":"github.com","tags":["Advisory"]},{"url":"https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9@%3Cdev.karaf.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-09-18T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T02:12:17.084Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,2,88],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01904,"stale":false,"promoted":null},{"type":"cvss","source":"nvd","date":"2024-09-17T02:12:17.084Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0","headline":true},{"type":"cvss","source":"nvd","date":"2024-09-17T02:12:17.084Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","version":"2.0"},{"type":"cvss","source":"osv_maven","date":"2024-09-17T02:12:17.084Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"}],"epss":{"value":0.01904,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:29:37.561Z","stale":false,"partial":false}}