CVE-2023-25826
critical · 9.8A public exploit / detection template exists
Weaponised detection is publicly available, which meaningfully raises real-world risk regardless of CVSS. nuclei-templates →
Due to insufficient validation of parameters passed to the legacy HTTP query API, it is possible to inject crafted OS commands into multiple parameters and execute malicious code on the OpenTSDB host system. This exploit exists due to an incomplete fix that was made when this vulnerability was previously disclosed as CVE-2020-35476. Regex validation that was implemented to restrict allowed input to the query API does not work as intended, allowing crafted commands to bypass validation.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| opentsdb | opentsdb | >= 1.0.0, <= 2.4.1 |
Check a specific version with /api/v1/cve/match.
References
- http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html
- https://github.com/OpenTSDB/opentsdb/pull/2275
- https://www.synopsys.com/blogs/software-security/opentsdb/
- http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html
- https://github.com/OpenTSDB/opentsdb/pull/2275
- https://www.synopsys.com/blogs/software-security/opentsdb/
Query this programmatically:
curl https://evil-db.io/api/v1/cve/CVE-2023-25826