RULE(RULE ID:337840)

Rule General Information
Release Date: 2024-03-06
Rule Name: OpenTSDB Command Injection Vulnerability (CVE-2023-25826)
Severity:
CVE ID:
Rule Protection Details
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.
Impact: An attacker can execute arbitrary command via a successful exploit in the context of the vulnerable software.
Affected OS: Windows, Linux, Others
Reference: https://www.synopsys.com/blogs/software-security/opentsdb/
https://github.com/OpenTSDB/opentsdb/pull/2275
https://cxsecurity.com/cveshow/CVE-2023-25826/
Solutions
Refer to the announcement or patch by the vendor: https://www.synopsys.com/blogs/software-security/opentsdb/