CVE-2018-1287 Missing certificate validation in Apache JMeter
Attackers can execute unauthorized code on JMeter servers via RMI when distributed testing is enabled with default wildcard binding.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-1287?
CVE-2018-1287 is a critical code injection vulnerability in Apache JMeter, published on 14 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Apache JMeter 2.X and 3.X, when using Distributed Test only (RMI based), jmeter server binds RMI Registry to wildcard host. This could allow an attacker to get Access to JMeterEngine and send unauthorized code.
Which versions are affected by CVE-2018-1287?
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 | 4.0 |
org.apache.jmeter:ApacheJMeter Maven | All versions | 4.0 |
Products include Apache Jmeter.
How do I fix CVE-2018-1287?
Upgrade org.apache.jmeter:ApacheJMeter to 4.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2018-1287 being exploited?
There is no known exploitation of CVE-2018-1287 in the wild and no public exploit code.
Other vulnerabilities in Apache JMeter
Sources
Also known as DEBIAN-CVE-2018-1287, GHSA-j7j7-g4ww-pxg5, UBUNTU-CVE-2018-1287.