Threats / DrayTek / CVE-2024-12987
CVE-2024-12987
· EUVD no mirror located
· GCVE no mirror located
Verified 2026-06-22
DrayTek Vigor Routers vulnerability
DrayTek Vigor routers contain an OS command injection vulnerability in the web management interface that allows unauthenticated remote code execution.
Verdict
Today item — known-exploited.
A command injection flaw in the /cgi-bin/mainfunction.cgi/apmcfgupload endpoint of DrayTek Vigor2960, Vigor300B, and Vigor3900 routers enables attackers to execute arbitrary OS commands with router privileges, leading to full device compromise.
01
Is it exploitable?
— the evidence, ranked above the scoreReported exploitation
59 independent public reports of in-the-wild exploitation are cataloged.Distinct reporting sources (vendor, incident response, government); open them for the underlying claims.
Exploited in the wild
Listed in the CISA Known Exploited Vulnerabilities catalog (added 2025-05-15).
Probability (EPSS)
EPSS 0.98125 — modeled likelihood of exploitation activity.EPSS is a daily-changing model output — open the source for today's value.
Severity / affected
Affected: DrayTek, Vigor Routers. Confirm exact fixed builds in the vendor advisory.
Weakness (CWE)
Mapped to CWE-78 OS Command Injection — weakness family: Injection.CWE assignment from the public NVD record; the weakness class drives how the flaw is exploited.
02
Who’s exploiting it?
— attribution turns risk into urgencyAttribution not established
No confirmed (advisory-backed) threat-actor attribution is established for this record. Absence of a named actor is not absence of compromise — see Coverage & confidence.
03
Why it matters
— the attack path, told twice: adversary, then board1
Front door — unauthenticated access narrative 1
Attacker
I craft a malicious HTTP request to the vulnerable apmcfgupload endpoint, injecting OS commands into an unsanitized parameter.
Business
The organization's network perimeter is breached through a trusted infrastructure device.
2
Keys to the kingdom — privilege/identity takeover narrative 2
Attacker
I execute commands with the router's privilege level to establish persistence and pivot deeper into the network.
Business
Attackers gain a foothold for lateral movement and data exfiltration across internal systems.
3
Lateral reach — past segmentation narrative 3
Attacker
I reconfigure routing rules, DNS settings, or intercept traffic to monitor or redirect network communications.
Business
Network integrity is compromised, enabling man-in-the-middle attacks and credential harvesting.
04
What to do
— defensible action- Remediate per the vendor advisory — confirm the fixed build for your version and verify exposure.1
Say it to the boardA vulnerability with this evidence profile is a defensible budget line, not a backlog ticket — fund the change against the proof above.
05
Coverage & confidence
— what we know, and what we don’tEstablished (cited)
Coverage gaps — stated, not hidden
Disclosure & credit2
Catalogued by VulDBCNA
Credited with finding itnetsecfish (VulDB User)reporter