jolokia-service-jsr160 Incomplete target JMX Service URL deny list handling for user-controlled input
GHSA-c9ff-59g8-m36q · CVE-2026-84218
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
A flaw was found in Jolokia's JSR-160 proxy functionality where insufficient validation of client-controlled JMX service URLs allows a bypass of the denylist introduced to mitigate CVE-2018-1000130. The proxy accepts a target.url value from a Jolokia POST request and passes it to JMXServiceURL and JMXConnectorFactory for establishing the remote JMX connection. The existing denylist only rejects URLs matching service:jmx:rmi:///jndi/ldap:.*, which can be bypassed using alternative valid JMX service URL forms, including ldaps:// schemes or LDAP URLs with a non-empty JMX host component. These URLs are accepted as valid JMXServiceURL objects and can cause the Jolokia agent JVM to perform a JNDI lookup against an attacker-controlled LDAP endpoint. This can result in server-side request forgery (SSRF), forwarding of supplied JMX credentials to the remote endpoint, and potentially remote code execution depending on the classes and configuration available in the target JVM.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-84218
- WEB https://github.com/jolokia/jolokia/issues/1049
- WEB https://access.redhat.com/security/cve/CVE-2026-84218
- WEB https://bugzilla.redhat.com/show_bug.cgi?id=2526752
- ADVISORY https://github.com/advisories/GHSA-c9ff-59g8-m36q
- PACKAGE https://github.com/jolokia/jolokia
- WEB https://jolokia.org/#jolokia_2_6_2_released_with_security_fixes
Ready to move
Start Securing
Free, no credit card | First findings in minutes