Vulnerability CVE-2020-35476


Published: 2020-12-16

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

See advisories in our WLB2 database:
Topic
Author
Date
Med.
OpenTSDB 2.4.0 Command Injection
Shai rod
24.12.2022

Type:

CWE-77

(Improper Neutralization of Special Elements used in a Command ('Command Injection'))

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Opentsdb -> Opentsdb 

 References:
https://github.com/OpenTSDB/opentsdb/issues/2051

Copyright 2024, cxsecurity.com

 

Back to Top