CVE-2018-11787Apache Karaf
High 8.1 No auth needed
Follow: this CVE · Apache · Apache Karaf We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.0
- 8.1
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Sep 18, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In Apache Karaf version prior to 3.0.9, 4.0.9, 4.1.1, when the webconsole feature is installed in Karaf, it is available at .../system/console and requires authentication to access it. One part of the console is a Gogo shell/console that gives access to the command line console of Karaf via a Web browser, and when navigated to it is available at .../system/console/gogo. Trying to go directly to that URL does require authentication. And optional bundle that some applications use is the Pax Web Extender Whiteboard, it is part of the pax-war feature and perhaps others. When it is installed, the Gogo console becomes available at another URL .../gogo/, and that URL is not secured giving access to the Karaf console to unauthenticated users. A mitigation for the issue is to manually stop/uninstall Gogo plugin bundle that is installed with the webconsole feature, although of course this removes the console from the .../system/console application, not only from the unauthenticated endpoint. One could also stop/uninstall the Pax Web Extender Whiteboard, but other components/applications may require it and so their functionality would be reduced/compromised.
What to do
- Apply the vendor's security update for Karaf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.karaf:apache-karaf |
< 3.0.9 |
3.0.9 |
— |
| Maven | org.apache.karaf:apache-karaf |
≥ 4.0.0 < 4.0.9 |
4.0.9 |
— |
| Maven | org.apache.karaf:apache-karaf |
≥ 4.1.0 < 4.1.1 |
4.1.1 |
— |
Per OSV / GitHub Advisories (GHSA-cq9c-55r7-455x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | karaf | < 3.0.9 |
| apache | karaf | ≥ 4.0.0 < 4.0.9 |
| apache | karaf | ≥ 4.1.0 < 4.1.1 |
| apache | karaf | 4.0.0 |
| apache | karaf | 4.0.0 |
| apache | karaf | 4.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- karaf.apache.org Patch Vendor Advisory
- issues.apache.org Vendor Advisory
- lists.apache.org