Patchfirst
CVE-2024-12987 KEVPublic exploit Critical · 9.8 EPSS 98.2%

DrayTek Vigor Routers OS Command Injection Vulnerability

DrayTek · Vigor Routers

Summary

A command injection flaw exists in the Web Management Interface component of DrayTek Vigor routers, specifically the Vigor2960 and Vigor300B running firmware 1.5.1.4, where the session argument passed to /cgi-bin/mainfunction.cgi/apmcfgupload is not properly sanitised. An attacker with network access can exploit this remotely without authentication or user interaction to inject and run arbitrary operating system commands on the device.

Official description · NVD

A vulnerability, which was classified as critical, was found in DrayTek Vigor2960 and Vigor300B 1.5.1.4. Affected is an unknown function of the file /cgi-bin/mainfunction.cgi/apmcfgupload of the component Web Management Interface. The manipulation of the argument session leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.5.1.5 is able to address this issue. It is recommended to upgrade the affected component.

Breakdown
69.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 47 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+47 days
  3. Added to CISA KEVEU database agrees+5 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order 2

ExecutionTA0002

MITRE CTID mapping of the KEV entry · primary impact

An unauthenticated, remote attacker can exploit this vulnerability to escalate privileges and execute arbitrary code with root access.

Privilege EscalationTA0004

MITRE CTID mapping of the KEV entry · how it is exploited

Detection

0 rules for this CVE · 126 general rules for its techniques

Rules for this CVE

0 that reference CVE-2024-12987 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

8 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close