CVE-2024-51298

In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the doGRETunnel function

Critical · published October 30, 2024

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

🚨 An attacker can launch a command storm just by calling a function! In Draytek Vigor3900 version 1.5.1.3, the doGRETunnel function is the gateway for malicious command execution. 🔥 Think of it like a restaurant where a waiter takes orders without checking the kitchen's capabilities — customers can request anything, and the kitchen has to cook it up, whether it's safe or not! With this vulnerability, an attacker can execute arbitrary commands on the system, potentially gaining full control. This means they could access sensitive data, modify configurations, or even take the system offline completely — a nightmare scenario for any network administrator!

Put simply

Think of it like a restaurant where a waiter takes orders without checking the kitchen's capabilities — customers can request anything, and the kitchen has to cook it up, whether it's safe or not! This critical flaw arises from insufficient input validation in the mainfunction.cgi script, allowing attackers to inject and execute arbitrary commands via the doGRETunnel function call.

What to do

With this vulnerability, an attacker can execute arbitrary commands on the system, potentially gaining full control. This means they could access sensitive data, modify configurations, or even take the system offline completely — a nightmare scenario for any network administrator! Immediate action is crucial: Update to the latest version of the Draytek Vigor3900 firmware to close this vulnerability. Additionally, review access controls and monitor logs for any suspicious activity to ensure your network remains secure. You've got this! By taking these steps, you're well on your way to securing your network like a pro! 🛡️

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.00620 · 49.0th percentile
Published
2024-10-30T00:00Z
EPSS history
Timeline
  • 30 OCT 00:00Z
    In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the doGRETunnel function
    cvelistv5