Command injection in OpenTSDB
Critical severity
GitHub Reviewed
Published
May 3, 2023
to the GitHub Advisory Database
•
Updated Nov 10, 2023
Description
Published by the National Vulnerability Database
May 3, 2023
Published to the GitHub Advisory Database
May 3, 2023
Reviewed
May 5, 2023
Last updated
Nov 10, 2023
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.
References