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
https://www.synopsys.com/blogs/software-security/opentsdb/
https://github.com/OpenTSDB/opentsdb/pull/2275
http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html
Related Vulnerabilities
CVE-2021-23413 Vulnerability in npm package jszip
CVE-2023-30531 Vulnerability in maven package org.jenkins-ci.plugins:consul-kv-builder
CVE-2022-24377 Vulnerability in npm package cycle-import-check
CVE-2022-31367 Vulnerability in npm package strapi-plugin-content-type-builder
CVE-2016-6794 Vulnerability in maven package org.apache.tomcat:tomcat-util-scan