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...
- Published
- Dec 16, 2020
- Updated
- Aug 4, 2024
- Assigning CNA
- mitre
- Evidence observed
- Aug 8, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.7%
- Model date
- Nov 7, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
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.)
Sources
opentsdb/CVE-2020-35476
OpenTSDB Arbitrary Command Injection Remote Code Execution (CVE-2020-35476)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/opentsdb:2.4.0(opentsdb/CVE-2020-35476/docker-compose.yml:services.opentsdb.image)
modules/exploits/linux/http/opentsdb_yrange_cmd_injection.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Unix($.exploit_linux/http/opentsdb_yrange_cmd_injection.platform)
- verification: check_declared($.exploit_linux/http/opentsdb_yrange_cmd_injection.check)
http/cves/2020/CVE-2020-35476.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: status,word($.matchers[*].type)
- oob: interactsh_reference($.template_text)
- opentsdb_key_cmd_injectionExploit
An exploit for OpenTSDB <= 2.4.1 cmd injection (CVE-2023-36812/CVE-2023-25826) written in Fortran
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.