Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2023-36812 EUVD-2023-1721GHSA-76f7-9v52-v2fw

Remote Code Execution in OpenTSDB

Published Jun 30, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

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`.

Affected products

VendorProductAffectedFixed
OpenTSDB opentsdb < 2.4.2 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven net.opentsdb:opentsdb < 2.4.2 2.4.2 GHSA-76f7-9v52-v2fw

References