CVE-2024-12987:A critical OS command injection vulnerability exists in the Web Management Interface of DrayTek Vigor2960 and Vigor300B devices, specifically in version 1.5.1.4. This vulnerability can be exploited remotely by manipulating the session argument in the `/cgi-bin/mainfunction.cgi/apmcfgupload` file.

splash
Back

Description Preview

CVE-2024-12987 is a critical vulnerability affecting DrayTek Vigor2960 and Vigor300B devices running firmware version 1.5.1.4. The vulnerability is classified as an OS command injection flaw, which allows an attacker to execute arbitrary commands on the underlying operating system by manipulating the `session` argument in the specified CGI file. This exploitation can be performed remotely, making it particularly dangerous. The vulnerability has been publicly disclosed, and an upgrade to version 1.5.1.5 is recommended to mitigate the issue.

Overview

  • CVE ID: CVE-2024-12987
  • Affected Products:
    • DrayTek Vigor2960 (version 1.5.1.4)
    • DrayTek Vigor300B (version 1.5.1.4)
  • Vulnerability Type: OS Command Injection (CWE-78, CWE-77)
  • Severity:
    • CVSS v3.1: 7.3 (High)
    • CVSS v4.0: 6.9 (Medium)
  • Attack Vector: Remote
  • Date Published: December 27, 2024
  • Status: Publicly disclosed and actively exploitable

Remediation

To address the vulnerability, it is recommended that users upgrade their DrayTek Vigor2960 and Vigor300B devices to firmware version 1.5.1.5 or later. This update is expected to resolve the OS command injection issue. Users should ensure that their devices are regularly updated to maintain security against known vulnerabilities.

References

  1. VDB-289380 | DrayTek Vigor2960/Vigor300B Web Management Interface apmcfgupload os command injection
  2. CISA KEV - CVE-2024-12987
  3. DrayTek Vigor2960 Firmware Release Notes for version 1.5.1.5
  4. DrayTek Vigor300B Firmware Release Notes for version 1.5.1.5

Early Warning

Customers using Armis Early Warning were notified about this vulnerability before it appeared in CISA's Known Exploited Vulnerabilities Catalog, enabling them to assess their exposure and act proactively. Armis offers these examples of CVEs already included in CISA KEV for potential customers. Click here to learn how to receive alerts earlier.

Armis Alert Date
Dec 27, 2024
CISA KEV Date
May 15, 2025
139days early

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Accommodation & Food Services: Low
    Accommodation & Food Services
  2. Administrative, Support, Waste Management & Remediation Services: Low
    Administrative, Support, Waste Management & Remediation Services
  3. Agriculture, Forestry Fishing & Hunting: Low
    Agriculture, Forestry Fishing & Hunting
  4. Arts, Entertainment & Recreation: Low
    Arts, Entertainment & Recreation
  5. Construction: Low
    Construction
  6. Educational Services: Low
    Educational Services
  7. Finance and Insurance: Low
    Finance and Insurance
  8. Health Care & Social Assistance: Low
    Health Care & Social Assistance
  9. Information: Low
    Information
  10. Management of Companies & Enterprises: Low
    Management of Companies & Enterprises
  11. Manufacturing: Low
    Manufacturing
  12. Mining: Low
    Mining
  13. Other Services (except Public Administration): Low
    Other Services (except Public Administration)
  14. Professional, Scientific, & Technical Services: Low
    Professional, Scientific, & Technical Services
  15. Public Administration: Low
    Public Administration
  16. Real Estate Rental & Leasing: Low
    Real Estate Rental & Leasing
  17. Retail Trade: Low
    Retail Trade
  18. Transportation & Warehousing: Low
    Transportation & Warehousing
  19. Utilities: Low
    Utilities
  20. Wholesale Trade: Low
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background