Vulnerability Details : 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.)
Vulnerability category: Execute code
Public exploit exists!
Exploit prediction scoring system (EPSS) score for CVE-2020-35476
Probability of exploitation activity in the next 30 days: 95.74%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 99 % EPSS Score History EPSS FAQ
Metasploit modules for CVE-2020-35476
-
OpenTSDB 2.4.0 unauthenticated command injection
Disclosure Date: 2020-11-18First seen: 2023-09-11exploit/linux/http/opentsdb_yrange_cmd_injectionThis module exploits an unauthenticated command injection vulnerability in the yrange parameter in OpenTSDB through 2.4.0 (CVE-2020-35476) in order to achieve unauthenticated remote code execution as the root user. The module first attempts to obta
CVSS scores for CVE-2020-35476
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
nvd@nist.gov |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
nvd@nist.gov |
CWE ids for CVE-2020-35476
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-35476
-
http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html
OpenTSDB 2.4.0 Command Injection ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://github.com/OpenTSDB/opentsdb/issues/2051
OpenTSDB 2.4.0 Remote Code Execution · Issue #2051 · OpenTSDB/opentsdb · GitHubExploit;Issue Tracking;Third Party Advisory
Products affected by CVE-2020-35476
- cpe:2.3:a:opentsdb:opentsdb:*:*:*:*:*:*:*:*