CVEvulnerability
CVE-2020-35476
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2020-12-16
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-78
Description
A remote code execution vulnerability occurs in OpenTSDB through 2.4.0 via command injection in the yrange parameter. The yrange value is written to a gnuplot file in the /tmp directory. This file is then executed via the mygnuplot.sh shell script. (tsd/GraphHandler.java attempted to prevent command injections by blocking backticks but this is insufficient.)
Affected configurations
• opentsdb opentsdb (<= 2.4.0)
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html Exploit, Third Party Advisory, VDB Entry
- https://github.com/OpenTSDB/opentsdb/issues/2051 Exploit, Issue Tracking, Third Party Advisory
- http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html Exploit, Third Party Advisory, VDB Entry
- https://github.com/OpenTSDB/opentsdb/issues/2051 Exploit, Issue Tracking, Third Party Advisory