{"answers":{"affected":"6 open source packages ship an affected version, including org.apache.karaf:apache-karaf. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-11787 in the wild and no public exploit code.","fix":"Upgrade org.apache.karaf:apache-karaf to a fixed version for your release line: 3.0.9, 4.0.9 or 4.1.1.","what":"CVE-2018-11787 is a high-severity authentication bypass vulnerability in Apache Karaf, published on 18 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-11787 and fix it if it is affected.\n\nWhat it is: CVE-2018-11787 is a high-severity authentication bypass vulnerability in Apache Karaf, published on 18 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-11787 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.karaf:apache-karaf (Maven): affected all versions; fixed in 3.0.9\n- org.apache.karaf:apache-karaf (Maven): affected all versions; fixed in 3.0.9\n- org.apache.karaf:apache-karaf (Maven): affected from 4.0.0; fixed in 4.0.9\n- org.apache.karaf:apache-karaf (Maven): affected from 4.0.0; fixed in 4.0.9\n- org.apache.karaf:apache-karaf (Maven): affected from 4.1.0; fixed in 4.1.1\n- org.apache.karaf:apache-karaf (Maven): affected from 4.1.0; fixed in 4.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-11787/ (Markdown: https://insights.sbomify.com/CVE-2018-11787/index.md)","id":"CVE-2018-11787","markdown":"https://insights.sbomify.com/CVE-2018-11787/index.md","name":"CVE-2018-11787","record":{"aliases":["GHSA-cq9c-55r7-455x"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Karaf","requires_auth":"none","summary":"Unauthenticated attackers can access the Karaf Gogo console via an unsecured URL when the Pax Web Extender Whiteboard is installed, allowing command execution.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"karaf","vendor":"apache"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper Authentication in Apache Karaf","id":"CVE-2018-11787","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2018"},"n_packages":6,"n_references":3,"next":{"headline":"XML External Entity Reference in Apache Karaf","id":"CVE-2018-11788"},"packages":[{"ecosystem":"Maven","fixed":["3.0.9"],"introduced":["0"],"last_affected":[],"package":"org.apache.karaf:apache-karaf","purl":null,"source":"GHSA-cq9c-55r7-455x"},{"ecosystem":"Maven","fixed":["3.0.9"],"introduced":["0"],"last_affected":[],"package":"org.apache.karaf:apache-karaf","purl":"pkg:maven/org.apache.karaf/apache-karaf","source":"GHSA-cq9c-55r7-455x"},{"ecosystem":"Maven","fixed":["4.0.9"],"introduced":["4.0.0"],"last_affected":[],"package":"org.apache.karaf:apache-karaf","purl":null,"source":"GHSA-cq9c-55r7-455x"},{"ecosystem":"Maven","fixed":["4.0.9"],"introduced":["4.0.0"],"last_affected":[],"package":"org.apache.karaf:apache-karaf","purl":"pkg:maven/org.apache.karaf/apache-karaf","source":"GHSA-cq9c-55r7-455x"},{"ecosystem":"Maven","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"org.apache.karaf:apache-karaf","purl":null,"source":"GHSA-cq9c-55r7-455x"},{"ecosystem":"Maven","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"org.apache.karaf:apache-karaf","purl":"pkg:maven/org.apache.karaf/apache-karaf","source":"GHSA-cq9c-55r7-455x"}],"prev":{"headline":"Improper Privilege Management in Apache Karaf","id":"CVE-2018-11786"},"products":["Apache Karaf"],"published":"2018-09-18","related":[{"cvss_score":9.8,"headline":"Apache Karaf: Path Traversal in Config Service Allows Manager-to-Admin Privilege Escalation","id":"CVE-2026-91012","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":9.8,"headline":"Missing authorization in Apache Karaf","id":"CVE-2026-91048","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":9.8,"headline":"Apache Karaf: JDBC JAAS LDAP injection","id":"CVE-2022-40145","kev_date_added":null,"published":"2022-12-21"},{"cvss_score":9.8,"headline":"XML External Entity Reference in Apache Karaf","id":"CVE-2018-11788","kev_date_added":null,"published":"2019-01-07"},{"cvss_score":8.8,"headline":"Apache Karaf: Authorization bypass in JMX MBean lifecycle operations","id":"CVE-2026-92142","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.8,"headline":"Apache Karaf: OS Command Injection in Child-Instance Launch (instance:* / InstancesMBean)","id":"CVE-2026-91006","kev_date_added":null,"published":"2026-09-28"},{"cvss_score":8.8,"headline":"Improper Privilege Management in Apache Karaf","id":"CVE-2018-11786","kev_date_added":null,"published":"2018-09-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Apache Software Foundation"]},"summary":"Unauthenticated attackers can access the Karaf Gogo console via an unsecured URL when the Pax Web Extender Whiteboard is installed, allowing command execution.","url":"https://insights.sbomify.com/CVE-2018-11787/"}