---
title: "CVE-2024-12987 Vigor Routers exploit probe · camada"
description: "CVE-2024-12987 in Vigor Routers: the request path scanners probe, how to find it in your access log, and where to find patch advice."
url: https://www.camada.app/exploits/cve-2024-12987
last_updated: 2025-05-15
---

# CVE-2024-12987 in DrayTek Vigor Routers

DrayTek Vigor2960, Vigor300B, and Vigor3900 routers contain an OS command injection vulnerability due to an unknown function of the file /cgi-bin/mainfunction.cgi/apmcfgupload of the component web management interface.

[Exploit watch](https://www.camada.app/exploits) [Access log examples](https://www.camada.app/exploits/cve-2024-12987#access-log) [Advisories](https://www.camada.app/exploits/cve-2024-12987#advisories)

## CISA listing

**Vendor**

DrayTek

**Product**

Vigor Routers

**CISA name**

DrayTek Vigor Routers OS Command Injection Vulnerability

**Listed by CISA**

2025-05-15

**Ransomware use**

Not known to be used in ransomware campaigns

**EPSS**

98.2% as of 2026-11-18

## What the probe looks like in your access log

Sample access log line. Demo data.

```text
203.0.113.7 - - [19/Nov/2026:09:14:02 +0000] "GET /cgi-bin/mainfunction.cgi/apmcfgupload HTTP/1.1" 404 153
```

Search your log for the method and path

```sh
grep -Fi '"GET /cgi-bin/mainfunction.cgi/apmcfgupload' access.log
```

Patch the CVE. camada finds and blocks the clients probing for it, from the next review on. If you run DrayTek Vigor Routers, requests to this path can be normal, so check your version against the advisory.

[Check your own log for these probes in your browser](https://www.camada.app/tools/access-log-analyzer).

## Advisories

- [fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdf](https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.5/DrayTek_Vigor2960_V1.5.1.5_01release-note.pdf)
- [fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdf](https://fw.draytek.com.tw/Vigor300B/Firmware/v1.5.1.5/DrayTek_Vigor300B_V1.5.1.5_01release-note.pdf)
- [fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdf](https://fw.draytek.com.tw/Vigor3900/Firmware/v1.5.1.5/DrayTek_Vigor3900_V1.5.1.5_01release-note.pdf)
- [CVE-2024-12987 in the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2024-12987)

## Sitemap

[Every page on this site](https://www.camada.app/sitemap.md)
