CVE-2020-35476

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.)
References
Link Resource
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
Configurations

Configuration 1 (hide)

cpe:2.3:a:opentsdb:opentsdb:*:*:*:*:*:*:*:*

History

03 Mar 2023, 15:34

Type Values Removed Values Added
References (MISC) https://github.com/OpenTSDB/opentsdb/issues/2051 - Exploit, Third Party Advisory (MISC) https://github.com/OpenTSDB/opentsdb/issues/2051 - Exploit, Issue Tracking, Third Party Advisory
References (MISC) http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html - (MISC) http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html - Exploit, Third Party Advisory, VDB Entry

23 Dec 2022, 18:15

Type Values Removed Values Added
CWE CWE-77 CWE-78
References
  • (MISC) http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html -

Information

Published : 2020-12-16 08:15

Updated : 2024-02-04 21:23


NVD link : CVE-2020-35476

Mitre link : CVE-2020-35476

CVE.ORG link : CVE-2020-35476


JSON object : View

Products Affected

opentsdb

  • opentsdb
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')