Patchfirst
CVE-2020-35476 Public exploit EPSS 85.3%

A remote code execution vulnerability occurs in OpenTSDB through 2.4.0 via command injection in the yrange parameter

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

The flaw is a command injection in the yrange parameter of OpenTSDB through 2.4.0, where the value is written into a gnuplot file in /tmp that is then executed by the mygnuplot.sh shell script, and the existing filter in tsd/GraphHandler.java that blocks backticks is insufficient.

Official description · CVE.org

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

Breakdown
61.3 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 3 years after disclosure. Public exploit code (Metasploit) was available 28 days before disclosure.

  1. Public exploit codeMetasploit28 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidence+3 yrs

A fix was bypassed or incomplete once over 2 years.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2020-35476A remote code execution vulnerability occurs in OpenTSDB through…16 Dec 2020
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textThis exploit exists due to an incomplete fix that was made when this vulnerability was previously disclosed as CVE-2020-35476.
    CVE-2023-25826Remote Code Execution in OpenTSDB3 May 2023

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: net.opentsdb:opentsdb.

Mavennet.opentsdb:opentsdbGHSA-hv53-q76c-7f8c

No fixed version published. Check the advisory or remove the package.

Affected versions

If you runUpgrade to
2.4.0 and earlierNo fix published

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 3 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close