CVE-2024-51252

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

High · published November 1, 2024

CVSS v3.1
8.0
EPSS
1%
Percentile
56.6
In the wild
Unconfirmed
What it is

🚨 A simple call to `restore` opens the door wide for attackers! In Draytek Vigor3900 version 1.5.1.3, the mainfunction.cgi file is vulnerable to command injection, making it a playground for malicious activities. ⚡ Think of it like a hotel receptionist who takes any guest's word for it and hands over the master key without verifying their identity. Instead of a simple room change, an attacker could take control of the entire building! This vulnerability could allow an attacker to execute arbitrary commands on the device. Imagine them gaining complete control to manipulate settings, install malicious software, or even intercept sensitive data. It’s a scenario that could lead to significant data breaches and compromised networks!

Put simply

Think of it like a hotel receptionist who takes any guest's word for it and hands over the master key without verifying their identity. Instead of a simple room change, an attacker could take control of the entire building! The vulnerability arises from insecure handling of input in the `mainfunction.cgi` script, allowing attackers to inject and execute their own commands by exploiting the `restore` function.

What to do

This vulnerability could allow an attacker to execute arbitrary commands on the device. Imagine them gaining complete control to manipulate settings, install malicious software, or even intercept sensitive data. It’s a scenario that could lead to significant data breaches and compromised networks! Immediately patch your Draytek Vigor3900 device to version 1.5.1.4 or later to close this loophole. Additionally, review your device configurations and audit access logs for any suspicious activity. Proactive monitoring can help catch potential issues early! You've got this! With these steps, you’ll be back in the security zone in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.0 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00815 · 56.6th percentile
Published
2024-11-01T00:00Z
EPSS history
Timeline
  • 01 NOV 00:00Z
    In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the restore function
    cvelistv5