critical9.8
CVE-2023-25826
Command injection in OpenTSDB
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | net.opentsdb:opentsdb | <= 2.4.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Opentsdb | Opentsdb | from 1.0.0 through 2.4.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/
- https://github.com/advisories/GHSA-h475-7v3c-26q7
- https://nvd.nist.gov/vuln/detail/CVE-2023-25826
- https://www.synopsys.com/blogs/software-security/opentsdb