CVE-2018-12972 OpenTSDB vulnerable to OS Command Injection
Attackers can execute arbitrary commands via parameters in the /q URI of OpenTSDB, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-12972?
CVE-2018-12972 is a critical command injection vulnerability in n/a, published on 29 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in OpenTSDB 2.3.0. Many parameters to the /q URI can execute commands, including o, key, style, and yrange and y2range and their JSON input.
Weakness: CWE-78
Which versions are affected by CVE-2018-12972?
2 open source packages ship an affected version, including net.opentsdb:opentsdb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
net.opentsdb:opentsdb Maven | All versions to 2.3.0 | None |
net.opentsdb:opentsdb Maven | All versions to 2.3.0 | None |
Products include Opentsdb Opentsdb.
How do I fix CVE-2018-12972?
No fix has been published for CVE-2018-12972 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-12972 being exploited?
There is no known exploitation of CVE-2018-12972 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cx2v-jrjc-g54w.