CVE-2018-11787

Vulnerability in Apache Karaf

No CVSS score yet EPSS 2.57%

Published 18 Sep 2018 Updated 17 Sep 2024 CNA: apache

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.

Exploitation

EPSS 2.57%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 85.9% of all scored CVEs. Scores of 26 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Apache Karaf
affected prior to 3.0.9
affected 4.0.x prior to 4.0.9
affected 4.1.x prior to 4.1.1

Is my server affected?

Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-11787 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-11787

RHEL, Rocky, Alma, Fedora

rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-11787

Alpine

apk list --installed | grep -i PACKAGE

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2018-11787
trivy image --scanners vuln IMAGE | grep CVE-2018-11787

PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.

References

Advisories

Other references

Source: the record CVE-2018-11787 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.