Skip to content

CVE-2020-35476 OS Command Injection in OpenTSDB

CriticalCVSS 9.8 EPSS 85.3% Framework module Public exploit Scanner template
Published
Updated
Exploit status
Public exploit available

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.)

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
net.opentsdb/opentsdb(Maven) <= 2.4.0; = 2.1.3; = 2.2.0; = 2.2.0RC1 +9 more after 2.4.0 Fixed
opentsdb <= 2.4.0 after 2.4.0 Fixed

Affected products

ProductAffected versionsFixed in
net.opentsdb/opentsdb(Maven) <= 2.4.0 No fix listed
net.opentsdb/opentsdb(Maven) = 2.1.3 No fix listed
net.opentsdb/opentsdb(Maven) = 2.2.0 No fix listed
net.opentsdb/opentsdb(Maven) = 2.2.0RC1 No fix listed
net.opentsdb/opentsdb(Maven) = 2.2.1 No fix listed
net.opentsdb/opentsdb(Maven) = 2.2.2 No fix listed
net.opentsdb/opentsdb(Maven) = 2.3.0 No fix listed
net.opentsdb/opentsdb(Maven) = 2.3.0-RC1 No fix listed
net.opentsdb/opentsdb(Maven) = 2.3.0-RC2 No fix listed
net.opentsdb/opentsdb(Maven) = 2.3.1 No fix listed
net.opentsdb/opentsdb(Maven) = 2.3.2 No fix listed
net.opentsdb/opentsdb(Maven) = 2.4.0 No fix listed
net.opentsdb/opentsdb(Maven) = 2.4.0RC1 No fix listed
opentsdb <= 2.4.0 No fix listed

References