Vulnerability Details : CVE-2020-35476
Public exploit exists!
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
Products affected by CVE-2020-35476
- cpe:2.3:a:opentsdb:opentsdb:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-35476
93.68%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less
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 | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
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
|
NIST |
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
Jump to