CVE-2024-36622

In RaspAP raspap-webgui 3.0.9 and earlier, a command injection vulnerability exists in the clearlog.php script

Critical · published November 29, 2024

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

🚨 A command injection vulnerability in RaspAP's clearlog.php script could allow attackers to execute commands with just a crafted logfile parameter! 🔥 Imagine a restaurant where customers can yell their orders directly into the kitchen, and the chef cooks whatever is shouted. That’s how this flaw lets attackers manipulate server commands without proper checks in place! An attacker could potentially gain full control of the server, running arbitrary commands, accessing sensitive data, or even disrupting services entirely. This could lead to catastrophic data breaches or system failures, making it an absolute nightmare for any admin!

Put simply

Imagine a restaurant where customers can yell their orders directly into the kitchen, and the chef cooks whatever is shouted. That’s how this flaw lets attackers manipulate server commands without proper checks in place! In RaspAP raspap-webgui versions 3.0.9 and earlier, improper sanitization of user input in the logfile parameter allows for command injection, enabling unauthorized command execution on the server.

What to do

An attacker could potentially gain full control of the server, running arbitrary commands, accessing sensitive data, or even disrupting services entirely. This could lead to catastrophic data breaches or system failures, making it an absolute nightmare for any admin! Update RaspAP to version 3.0.10 or later immediately to patch this vulnerability. Additionally, review and sanitize all user inputs to prevent similar issues in the future. Don’t forget to monitor your servers for any suspicious activity! You've got this! By taking these steps, you'll be on your way to securing your systems in no time. 🛡️

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.02838 · 86.6th percentile
Published
2024-11-29T00:00Z
EPSS history
Timeline
  • 29 NOV 00:00Z
    In RaspAP raspap-webgui 3.0.9 and earlier, a command injection vulnerability exists in the clearlog.php script
    cvelistv5