karaf: SSH RBAC security enforcement
Published Sep 18, 2018
8.8
HIGHCVSS 3.0
EPSS 1.90%
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.
Affected products
-
- Version prior to 4.2.0 releaseStatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Karaf | n/a |
|
No data.
Red Hat Fuse 7
karaf
Not affected
Red Hat JBoss A-MQ 6
karaf
Out of support scope
Red Hat JBoss Fuse 6
karaf
Out of support scope
Red Hat JBoss Fuse Service Works 6
karaf
Will not fix
Red Hat OpenStack Platform 10 (Newton)
opendaylight
Will not fix
Red Hat OpenStack Platform 12 (Pike)
opendaylight
Will not fix
Red Hat OpenStack Platform 13 (Queens)
opendaylight
Will not fix
Red Hat OpenStack Platform 8 (Liberty)
opendaylight
Will not fix
Red Hat OpenStack Platform 9 (Mitaka)
opendaylight
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7 | karaf | Not affected | n/a |
| Red Hat JBoss A-MQ 6 | karaf | Out of support scope | n/a |
| Red Hat JBoss Fuse 6 | karaf | Out of support scope | n/a |
| Red Hat JBoss Fuse Service Works 6 | karaf | Will not fix | n/a |
| Red Hat OpenStack Platform 10 (Newton) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 12 (Pike) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 13 (Queens) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 8 (Liberty) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | opendaylight | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Open Daylight: The SSH console is enabled by default, with default credentials, and allows arbitrary file read and write, in addition to arbitrary command execution, in addition to regular Open Daylight Karaf functions.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
AV:N/AC:L/Au:S/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.90% (0.01904) | 78.98th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.90% (0.01904) | 76.95th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.84% (0.00843) | 72.63th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.96% (0.01963) | 72.62th | v4 (v2025.03.14) |
| Mar 24, 2025 | 0.84% (0.00843) | 72.60th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.96% (0.01963) | 82.31th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.18% (0.00177) | 56.15th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.18% (0.00177) | 54.72th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.17% (0.00166) | 51.53th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00890) | 30.33th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00890) | 12.04th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.46% (0.02463) | 54.82th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.46% (0.02463) | 0.00th | v1 |
References (9)
- http://karaf.apache.org/security/cve-2018-11786.txt x_refsource_CONFIRMPatchVendor Advisory
- https://access.redhat.com/security/cve/CVE-2018-11786 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1631102 Issue Tracking
- https://github.com/advisories/GHSA-9448-c9wq-jg9v Advisory
- https://issues.apache.org/jira/browse/KARAF-5427 x_refsource_CONFIRMIssue TrackingPatchVendor Advisory
- https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9%40%3Cdev.karaf.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9@%3Cdev.karaf.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-11786
- https://www.cve.org/CVERecord?id=CVE-2018-11786
| Link | Providers | Tags |
|---|---|---|
| http://karaf.apache.org/security/cve-2018-11786.txt | x_refsource_CONFIRMPatchVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-11786 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1631102 | Issue Tracking | |
| https://github.com/advisories/GHSA-9448-c9wq-jg9v | Advisory | |
| https://issues.apache.org/jira/browse/KARAF-5427 | x_refsource_CONFIRMIssue TrackingPatchVendor Advisory | |
| https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9%40%3Cdev.karaf.apache.org%3E | mailing-listx_refsource_MLIST | |
| https://lists.apache.org/thread.html/5b7ac762c6bbe77ac5d9389f093fc6dbf196c36d788e3d7629e6c1d9@%3Cdev.karaf.apache.org%3E | ||
| https://nvd.nist.gov/vuln/detail/CVE-2018-11786 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-11786 |
Change history (0)
No recorded changes yet.