CVE-2022-39986

A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in…

published August 1, 2023

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.9th percentile for exploit probability.

CVSS
—
EPSS
99%
Percentile
99.9
In the wild
Unconfirmed
What it is

🚨 A sneaky command injection flaw hides in RaspAP versions 2.8.0 through 2.8.7, letting attackers run commands without breaking a sweat! ⚡ Think of it like a restaurant where the waiter mistakenly assumes any request from a customer is valid, leading to kitchen chaos. Instead of just taking orders, the waiter could start cooking anything anyone asks for! This vulnerability is surprisingly sneaky—an attacker could execute arbitrary commands right on the server. That means they could tamper with settings, steal information, or even take control of the system entirely! Talk about a recipe for disaster!

Put simply

Think of it like a restaurant where the waiter mistakenly assumes any request from a customer is valid, leading to kitchen chaos. Instead of just taking orders, the waiter could start cooking anything anyone asks for! This command injection vulnerability arises from a lack of input validation on the `cfg_id` parameter in the `activate_ovpncfg.php` and `del_ovpncfg.php` scripts, allowing unauthenticated users to trick the server into running harmful commands.

What to do

This vulnerability is surprisingly sneaky—an attacker could execute arbitrary commands right on the server. That means they could tamper with settings, steal information, or even take control of the system entirely! Talk about a recipe for disaster! To secure your system, patch RaspAP to a version above 2.8.7 immediately. Additionally, review your input validation practices to ensure that parameters like `cfg_id` are properly sanitized. Don't forget to audit your existing configurations for any signs of tampering! You've got this! Fixing this flaw will make your systems safer and reinforce your status as a security hero! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.99058 · 99.9th percentile
Published
2023-08-01T00:00Z
EPSS history
Timeline
  • 01 AUG 00:00Z
    A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in…
    cvelistv5