CVE-2018-11787
Improper Authentication in Apache Karaf
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.karaf » apache-karaf | < 3.0.9>= 4.0.0, < 4.0.9>= 4.1.0, < 4.1.1 | 3.0.9, 4.0.9, 4.1.1 |
Blast radius
50% of the dependent artifacts (46) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,324 |
| 2 hops | 326 |
| 3 hops | 52 |
| 4 hops | 29 |
Most used dependents
- io.fabric8 » fabric8-maven-plugin676 usages
- org.codice.ddf » kernel27 usages
- io.fabric8 » fabric8-karaf15 usages
- org.apache.karaf.itests » itests9 usages
- pentaho » pentaho-karaf-assembly8 usages
- org.jboss.fuse » jboss-fuse8 usages
- org.apache.karaf.tooling » org.apache.karaf.tooling.testing7 usages
- pentaho » pentaho-big-data-plugin6 usages
- org.openengsb.framework » openengsb-framework6 usages
- org.fusesource.fabric » fuse-fabric6 usages
- org.apache.camel » camel-test-karaf5 usages
- org.codice.ddf » ddf5 usages
- org.apache.camel » apache-camel5 usages
- org.apache.servicemix » apache-servicemix4 usages
- org.apache.activemq.tests » integration-tests4 usages
Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-11787 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-cq9c-55r7-455x | github.com |
| Web | jira/browse/KARAF-4993 | issues.apache.org |
| Web | thread.html/d9ba4c3104ba32225646879a057b75b54430f349c246c85469037d3c@<dev.karaf.apache.org ... | lists.apache.org |
| Web | security/cve-2018-11787.txt | karaf.apache.org |
