CVE-2023-36812
CRITICALOpenTSDB <2.4.2 - Remote Code Execution via Gnuplot Configuration Injection
Title source: manualExploitation Summary
EIP tracks 2 public exploits for CVE-2023-36812.
PoCs published by ErikWynter, Gal Goldstein, Daniel Abeles, Erik Wynter, including Metasploit module exploits/linux/http/opentsdb_key_cmd_injection.
AI-analyzed exploit summary This repository contains a Fortran-based exploit for CVE-2023-36812, a command injection vulnerability in OpenTSDB <= 2.4.1. The exploit leverages the Fortran http-client library to send malicious payloads to the target, achieving remote code execution.
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`.
Exploits (2)
This repository contains a Fortran-based exploit for CVE-2023-36812, a command injection vulnerability in OpenTSDB <= 2.4.1. The exploit leverages the Fortran http-client library to send malicious payloads to the target, achieving remote code execution.
This Metasploit module exploits an unauthenticated command injection vulnerability in OpenTSDB 2.4.1 and earlier via the 'key' parameter, achieving remote code execution as root. It includes version detection, metric/aggregator selection, and payload delivery through crafted HTTP requests.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H