Skip to main content
← All vulnerabilities
CVE-2023-36812GHSA-76F7-9V52-V2FW

Remote Code Execution in OpenTSDB

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.2
1 Metasploit module, 1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • OpenTSDB opentsdb

    fixed in 2.4.2

  • net.opentsdb:opentsdbMaven

    fixed in 2.4.2

References 6

GitHub · OpenTSDB/opentsdb

packetstormsecurity.com

GitHub · rapid7/metasploit-framework

GitHub · ErikWynter/opentsdb_key_cmd_injection