CVE-2023-36812
Opentsdb vulnerability
OpenTSDB is a open source, distributed, scalable Time Series Database (TSDB). OpenTSDB is vulnerable to Remote Code Execution vulnerability by writing user-controlled input to Gnuplot configuration file and running Gnuplot with the generated configuration. This issue has been patched in commit `07c4641471c` and further refined in commit `fa88d3e4b`. These patches are available in the `2.4.2` release. Users are advised to upgrade. User unable to upgrade may disable Gunuplot via the config option`tsd.core.enable_ui = true` and remove the shell files `mygnuplot.bat` and `mygnuplot.sh`.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Opentsdb. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Opentsdb runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/OpenTSDB/opentsdb/commit/07c4641471c6f5c2ab5aab615969e97211eb50d9 · Patch
- github.com/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba · Patch
- github.com/OpenTSDB/opentsdb/security/advisories/GHSA-76f7-9v52-v2fw · Patch
- packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html
- nvd.nist.gov/vuln/detail/CVE-2023-36812
- cve.org/CVERecord?id=CVE-2023-36812
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.