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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)43.0%top 1.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Metasploit, 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

EcosystemPackageFixed inAdvisory
Mavennet.opentsdb:opentsdbno fix listedGHSA-h475-7v3c-26q7

Affected products (as reported)

VendorProductVersions
OpenTSDB OpenTSDB 0 – through 2.4.1

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References