CVE-2023-36812CWE-74

Remote Code Execution in OpenTSDB

Critical · published June 30, 2023

CVSS v3.1
9.8
EPSS
17%
Percentile
97.0
In the wild
Unconfirmed
What it is

🔥 An open door to remote code execution lurks in OpenTSDB, allowing user-controlled input to mess with Gnuplot configurations! Think of it like a restaurant that takes a customer's order without checking the recipe — if the chef follows the order blindly, the whole meal could turn disastrous! An attacker could exploit this vulnerability to run arbitrary code on your server, leading to catastrophic consequences like data breaches or complete system takeover. It's essentially handing over the keys to your database without a second thought!

Put simply

Think of it like a restaurant that takes a customer's order without checking the recipe — if the chef follows the order blindly, the whole meal could turn disastrous! This vulnerability allows attackers to inject user-controlled input into the Gnuplot configuration file, which is then executed, resulting in potential remote code execution. It's a dangerous flaw that could have severe repercussions for your data integrity.

What to do

An attacker could exploit this vulnerability to run arbitrary code on your server, leading to catastrophic consequences like data breaches or complete system takeover. It's essentially handing over the keys to your database without a second thought! Upgrade to OpenTSDB version 2.4.2 to apply the critical patches available in commits `07c4641471c` and `fa88d3e4b`. If upgrading isn't possible, disable Gnuplot by modifying the config option `tsd.core.enable_ui = true` and remove the shell files `mygnuplot.bat` and `mygnuplot.sh`. You've got this! Take these steps and fortify your defenses against this vulnerability! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.16501 · 97.0th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2023-06-30T22:58Z
EPSS history
Timeline
  • 30 JUN 22:58Z
    Remote Code Execution in OpenTSDB
    cvelistv5