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.
Remediation
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/
Related Vulnerabilities
CVE-2022-2564 Vulnerability in maven package org.webjars.npm:mongoose
CVE-2021-45105 Vulnerability in maven package org.apache.logging.log4j:log4j-core
CVE-2022-36097 Vulnerability in maven package org.xwiki.platform:xwiki-platform-attachment-ui
CVE-2023-38690 Vulnerability in npm package matrix-appservice-irc
CVE-2021-28169 Vulnerability in maven package org.eclipse.jetty:jetty-servlets