CVE-2018-11786 json
Improper Privilege Management in Apache Karaf
published 8y ago modified 4mo ago also GHSA-9448-c9wq-jg9v , EUVD-2018-0805
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.karaf:apache-karaf 4.2.0
- apache karaf 4.2.0
Is CVE-2018-11786 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-11786 updated cvss 7.1
karaf: SSH RBAC security enforcement
-
Red Hat JBoss A-MQ 6 karaf karaf Red Hat JBoss Fuse 6 karaf karafaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Fuse Service Works 6 karaf karaf Red Hat OpenStack Platform 8 (Liberty) opendaylight Red Hat OpenStack Platform 9 (Mitaka) opendaylight Red Hat OpenStack Platform 10 (Newton) opendaylight Red Hat OpenStack Platform 12 (Pike) opendaylight Red Hat OpenStack Platform 13 (Queens) opendaylightaffected: no fix planned “Will not fix”
-
Red Hat Fuse 7 karaf karafnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.90% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.karaf:apache-karaf | <4.2.0 |
4.2.0 |
Affected products
- Apache Software Foundation Apache Karaf
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
issues.apache.org
/jira/browse/KARAF-5427
web, issue-tracking, patch, vendor-advisory
-
karaf.apache.org
/security/cve-2018-11786.txt
web, patch, vendor-advisory
-
lists.apache.org
/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9%40%3Cdev.karaf.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-11786
advisory
-
github.com
/advisories/GHSA-9448-c9wq-jg9v
advisory
-
lists.apache.org
/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9@%3Cdev.karaf.apache.org%3E
web
Sources
- CVE List CVE-2018-11786
- GitHub Advisory GHSA-9448-c9wq-jg9v
- NVD CVE-2018-11786
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.