Known exploited vulnerability

CVE-2024-12987

mediumCVSS 4.0 6.9In CISA KEVEPSS 98%Published · DrayTek

The short answer

CVE-2024-12987 affects DrayTek Vigor2960 and is rated medium (CVSS 6.9). CISA added it to the Known Exploited Vulnerabilities catalog on 2025-05-15: attackers are using it, so patch it first.

What it is

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.

Weakness: CWE-77, CWE-78.

Severity

6.9 medium

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Exploited (CISA KEV)

Yes, since May 15, 2025

Federal due date Jun 5, 2025

EPSS, next 30 days

98%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality impact
Low
Integrity impact
Low
Availability impact
Low

What CISA says to do

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Affected products

Vigor2960, Vigor300B. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2024-12987 being exploited?

Yes. CISA added CVE-2024-12987 to its Known Exploited Vulnerabilities catalog on 2025-05-15, with a federal remediation due date of 2025-06-05.

How do I fix CVE-2024-12987?

CISA's required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.