S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Dec 16, 2023

CVE-2020-35476 Scanner

CVE-2020-35476 scanner - Command Injection vulnerability in OpenTSDB

Est. Time~30 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2.3k
Times Used
continuous scan runs
4.7k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2020-35476
9.8
CVSS

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

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
n/aby n/a
n/a
Updated Aug 21, 2026View on NVD →
Detail

OpenTSDB is a powerful open-source distributed time series database that was designed to record events or measurements data. It is built on top of Apache HBase, a distributed NoSQL database that provides random real-time read/write access to big data. With OpenTSDB, users can easily store, query, and graph large amounts of data in real-time in a scalable manner. It is commonly used by companies that have large amounts of data to track, such as monitoring and analyzing large-scale Web server infrastructures, mining data sensors, and IoT devices in real-time.

Recently, a vulnerability has been identified in OpenTSDB, namely CVE-2020-35476. This vulnerability enables remote code execution via command injection in the y-range parameter. Specifically, if an attacker inserts malicious code into the y-range parameter, it will be written to a gnuplot file in the /tmp directory, which will then be executed by the mygnuplot.sh shell script. This vulnerability can lead to serious consequences to any OpenTSDB deployment.

When exploited, this vulnerability can allow attackers to remotely execute any arbitrary code in the system running OpenTSDB. This means they can essentially take control of the whole system and access sensitive data. Moreover, the attacker can use this vulnerability to execute additional attacks such as data theft, DDoS, or install malware on the system. Cybercriminals are actively searching for non-hardened digital assets and, as such, OpenTSDB is becoming an attractive target.

s4e.io is a platform that provides pro-level security services to protect digital assets. One of their core features is automated scanning of digital assets for vulnerabilities. By using this platform, users can easily identify the vulnerabilities in their digital assets, and take necessary actions to protect themselves. They can also get specific recommendations from the platform on how to fix any vulnerability that is potentially hazardous. With s4e.io, users can rest easy knowing that their digital assets are constantly monitored for any threats.

 

REFERENCES

Solution Advice

To protect against this vulnerability, OpenTSDB users can take the following precautions:

  • Update OpenTSDB to the latest version, where the vulnerability has been patched.
  • Block or sanitize input that could contain harmful code or characters that are not needed in the y-range parameter.
  • Limit the usage of the user input via input validation, reducing opportunities for malicious input.
  • Monitor system logs for suspicious activity, as it could indicate that an attacker is trying to exploit the vulnerability.
  • Isolate OpenTSDB in a separate network segment to reduce its exposure to potentially malicious network activities.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2020-35476 scanner - Command Injection vulnerability in OpenTSDB | S4E