CVE-2019-0187 Unauthenticated Remote Code Execution in Apache JMeter

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary code via unsafe deserialization when JMeter runs in distributed mode.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-0187?

CVE-2019-0187 is a critical unsafe deserialization vulnerability in Apache JMeter, published on 6 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Unauthenticated RCE is possible when JMeter is used in distributed mode (-r or -R command line options). Attacker can establish a RMI connection to a jmeter-server using RemoteJMeterEngine and proceed with an attack using untrusted data deserialization. This only affect tests running in Distributed mode. Note that versions before 4.0 are not able to encrypt traffic between the nodes, nor authenticate the participating nodes so upgrade to JMeter 5.1 is also advised.

Weakness: CWE-502, CWE-327

Which versions are affected by CVE-2019-0187?

2 open source packages ship an affected version, including org.apache.jmeter:ApacheJMeter. It affects 1 product.

PackageAffectedFixed in
org.apache.jmeter:ApacheJMeter MavenAll versions5.1
org.apache.jmeter:ApacheJMeter MavenAll versions5.1

Products include Apache Jmeter.

How do I fix CVE-2019-0187?

Upgrade org.apache.jmeter:ApacheJMeter to 5.1 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2019-0187 being exploited?

There is no known exploitation of CVE-2019-0187 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-0187, GHSA-wg37-7mrv-cfwm, UBUNTU-CVE-2019-0187.

Is CVE-2019-0187 in your software?

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

Check your SBOMs for free