CVE-2021-33391

An issue in HTACG HTML Tidy v5.7.28 allows attacker to execute arbitrary code via the -g option of the CleanNode() function in gdoc.c

Critical · published February 17, 2023

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

🚨 A single command line option is all it takes to exploit this critical vulnerability in HTACG HTML Tidy v5.7.28! 🔥 Imagine the chaos an attacker could unleash with just a quick flick of their wrist! Think of it like a restaurant where anyone can walk in and change the menu without the chef's consent — just a little tweak, and suddenly, you’re served something that could bring the house down! With this exploit, an attacker could run arbitrary code on the server, potentially leading to full system compromise! This means they could steal sensitive data, corrupt files, or even take complete control of your system. The ramifications could be absolutely devastating!

Put simply

Think of it like a restaurant where anyone can walk in and change the menu without the chef's consent — just a little tweak, and suddenly, you’re served something that could bring the house down! This vulnerability arises from the -g option in the CleanNode() function within gdoc.c, allowing attackers to manipulate code execution simply by supplying crafted input. This flaw offers a direct pathway for remote code execution in versions prior to 5.7.29.

What to do

With this exploit, an attacker could run arbitrary code on the server, potentially leading to full system compromise! This means they could steal sensitive data, corrupt files, or even take complete control of your system. The ramifications could be absolutely devastating! To mitigate this risk, upgrade HTACG HTML Tidy to version 5.7.29 immediately. Review any scripts using the -g option to ensure they’re not vulnerable to this attack. Always validate input to safeguard against such exploits. You've got this! Take action now, and you’ll keep your systems safe and sound! 🛡️

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.01128 · 66.1th percentile
Published
2023-02-17T00:00Z
EPSS history
Timeline
  • 17 FEB 00:00Z
    An issue in HTACG HTML Tidy v5.7.28 allows attacker to execute arbitrary code via the -g option of the CleanNode() function in gdoc.c
    cvelistv5