Privilege escalation in Apache Karaf

CVE-2018-11786

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.

Vulnerability class: Privilege Escalation

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.019 (79.7th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 79.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-11786: held from 0.019 to 0.019.

EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-11786?
CVE-2018-11786 is a high-severity vulnerability in Apache Karaf, classified under Improper Privilege Management. CVSS score: 8.8/10. Published 2018-09-18.
How severe is CVE-2018-11786?
High severity. CVSS v3 base score is 8.8 out of 10.