CVE-2018-1000129 Cross-site Scripting in Jolokia agent

Medium 6.1 Published Updated

An attacker can execute malicious JavaScript in a victim's browser via the Jolokia agent HTTP servlet.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-1000129?

CVE-2018-1000129 is a medium-severity cross-site scripting vulnerability in n/a, published on 14 Mar 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An XSS vulnerability exists in the Jolokia agent version 1.3.7 in the HTTP servlet that allows an attacker to execute malicious javascript in the victim's browser.

Weakness: CWE-79

Which versions are affected by CVE-2018-1000129?

2 open source packages ship an affected version, including org.jolokia:jolokia-core. It affects 1 product.

PackageAffectedFixed in
org.jolokia:jolokia-core MavenFrom 1.3.71.5.0
org.jolokia:jolokia-core MavenFrom 1.3.71.5.0

Products include Jolokia Jolokia.

How do I fix CVE-2018-1000129?

Upgrade org.jolokia:jolokia-core to 1.5.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2018-1000129 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-1000129 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-hfpg-gqjw-779m.

Is CVE-2018-1000129 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free