CVE-2019-0187 Unauthenticated Remote Code Execution in Apache JMeter
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.jmeter:ApacheJMeter Maven | All versions | 5.1 |
org.apache.jmeter:ApacheJMeter Maven | All versions | 5.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.
Other vulnerabilities in Apache JMeter
Sources
Also known as DEBIAN-CVE-2019-0187, GHSA-wg37-7mrv-cfwm, UBUNTU-CVE-2019-0187.