CVE-2024-12987KEV · OVERDUECWE-77CWE-78

DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection

Medium · published December 27, 2024

Patch now

The score understates this — it's already being exploited

CVSS calls it medium at 6.9. It is confirmed in active exploitation. It sits in the 99.9th percentile for exploit probability.

506
days past CISA
deadline
CVSS v4.0
6.9
EPSS
98%
Percentile
99.9
In the wild
Confirmed
What it is

🚨 A crafty command injection vulnerability lurks in DrayTek Vigor2960 and Vigor300B devices! 🚨 Just manipulating a single argument can let attackers run arbitrary commands remotely! Think of it like a hotel receptionist who blindly follows any guest's request to access restricted areas without verifying their identity — a dangerous oversight! 🏨 An attacker could exploit this vulnerability to execute malicious commands on your system, potentially gaining access to sensitive data or disrupting services. This could result in unauthorized access or even a complete takeover of the device, depending on the commands executed! ⚠️

Put simply

Think of it like a hotel receptionist who blindly follows any guest's request to access restricted areas without verifying their identity — a dangerous oversight! 🏨 This vulnerability exists due to inadequate session validation in the web management interface, specifically in the file /cgi-bin/mainfunction.cgi/apmcfgupload. By manipulating the session argument, an attacker can inject and execute arbitrary OS commands.

What to do

An attacker could exploit this vulnerability to execute malicious commands on your system, potentially gaining access to sensitive data or disrupting services. This could result in unauthorized access or even a complete takeover of the device, depending on the commands executed! ⚠️ To secure your system, upgrade to version 1.5.1.5 immediately. It’s essential to regularly review and update your devices to protect against known vulnerabilities. Additionally, ensure that access to the management interface is restricted to trusted networks only. You've got this! Follow these steps, and your devices will be safe and sound in no time! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS
0.98163 · 99.9th percentile
Weaknesses
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection'); CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2024-12-27T16:00Z
KEV added
2025-05-15 · due 2025-06-05
EPSS history
Timeline
  • 15 MAY 00:00Z
    Added to CISA KEV — remediate by Jun 5
    kev
  • 27 DEC 16:00Z
    DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
    cvelistv5