Key Information:
- Vendor
Draytek
- CVE ID
- CVE ID:
- CVE-2024-12987
- Vendor
- CVE Published:
- 27 December 2024
Timeline
Exploit known the day it was published
- ๐ฐ
First article discovered by CISA (.gov)
- ๐ฆ
CISA Reported
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Yes: Works over the network, no login needed
- Yes: Public exploit code (1 proof-of-concept)
- Yes: Attacked in the wild (on CISA's KEV list)
- No: No ransomware use seen
Our verdict
Patch now
Attackers are using it. Patch or mitigate today.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory โ2Follow 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.
3Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Vigor2960. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
4Look for signs of compromise
It is being exploited in the wild, so check logs on exposed Vigor2960 systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.
5Why it's rated "Patch now"
- CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
- Exploit code is public, so attacks are easy to copy.
- It can be exploited remotely without credentials.
- EPSS gives it a 77.0% chance of exploitation in the next 30 days.
- Its CVSS severity is medium (6.9).
What is CVE-2024-12987?
CVE-2024-12987 is a command injection vulnerability in the Web Management Interface of DrayTek Vigor2960 and Vigor300B devices. The flaw exists in the file /cgi-bin/mainfunction.cgi/apmcfgupload, where manipulation of the session argument allows an attacker to execute arbitrary operating system commands. This vulnerability can be exploited remotely, enabling attackers to gain unauthorized control over the affected devices.
Version 1.5.1.4 of the affected products is vulnerable, and upgrading to version 1.5.1.5 addresses this issue. The vulnerability has been exploited in the wild.
Potential Impact of CVE-2024-12987
- Remote Command Execution: An attacker can execute arbitrary commands on the affected devices, potentially leading to unauthorized access or control.
- Device Compromise: Successful exploitation may allow attackers to manipulate device settings or intercept network traffic.
CISA has reported CVE-2024-12987
CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2024-12987 as being exploited . Neither CISA nor our sources have linked it to ransomware campaigns so far.
The CISA's recommendation is: 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 Version(s)
Vigor2960 1.5.1.4
Vigor300B 1.5.1.4
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
News Articles
CISA Adds Three Known Exploited Vulnerabilities to Catalog | CISA
CISA has added three new vulnerabilities to itsโฏKnown Exploited Vulnerabilities Catalog, based on evidence of active exploitation.ย CVE-2024-12987(link is external) DrayTek Vigor Routers OS Command Injection...
References
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction