Skip to main content
ExploitedIn CISA KEV

CVE-2024-12987

Exploitation confirmed. First attested on 2025-02-12 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.

  • Published2024-12-27
  • WeaknessCWE-77 · CWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-12-2716:15CVE publishedNVD
  2. 2025-02-1206:57Listed as exploited by GCVEGCVE
  3. 2025-02-1206:57Exploitation first reportedGCVE
  4. 2025-05-15Added to the CISA KEV catalogCISA KEV
  5. 2025-05-1703:56SSVC exploitation set to activeCISA-ADP

Versions per branch

NVD
Draytek vigor2960 firmwareversion to verify
BranchAffectedFixed in
1.5= 1.5.1.4no fix published
Draytek vigor300b firmwareversion to verify
BranchAffectedFixed in
1.5= 1.5.1.4no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As VulDB, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • DrayTek Vigor2960
    Affected
    • = 1.5.1.4no fix stated
  • DrayTek Vigor300B
    Affected
    • = 1.5.1.4no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-12-27

Fix

  1. 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.due 2025-06-05

Advisories and patches

Detection

read 2026-11-17 10:50 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

CISA Known Exploited Vulnerability

Date Added
2025-05-15
Patch Due Date
2025-06-05
Ransomware Use
Unknown
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.

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 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/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
Published
2024-12-27
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-3mp3-6fg3-7hxj

Frequently asked questions

What is CVE-2024-12987?

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.

Is CVE-2024-12987 actively exploited?

Yes. CVE-2024-12987 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2025-06-05.

What is the CVSS score for CVE-2024-12987?

CVE-2024-12987 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running DrayTek Vigor2960 and Vigor300B? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record