Vulnerability · Published May 3, 2023 · Assigned by SNPS
CVE-2023-25826Remote Code Execution in OpenTSDB
Critical 9.8
In plain English
A critical-severity OS command injection in OpenTSDB from OpenTSDB. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 43.0% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | net.opentsdb:opentsdb | no fix listed | GHSA-h475-7v3c-26q7 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H