Goal Reached Thanks to every supporter โ€” we hit 100%!

Goal: 1000 CNY ยท Raised: 1359 CNY

100%

CVE-2024-12987 โ€” AI Deep Analysis Summary

CVSS 7.3 ยท High

Q1What is this vulnerability? (Essence + Consequences)

๐Ÿšจ **Essence**: Critical OS Command Injection in DrayTek routers.โ€ฆ

Q2Root Cause? (CWE/Flaw)

๐Ÿ›ก๏ธ **Root Cause**: CWE-78 (OS Command Injection). ๐Ÿ› **Flaw**: The `session` parameter in the `/cgi-bin/mainfunction.cgi/apmcfgupload` endpoint is not sanitized, allowing malicious input to be executed by the OS.

Q3Who is affected? (Versions/Components)

๐Ÿข **Vendor**: DrayTek (ๅฑ…ๆ˜“็ง‘ๆŠ€). ๐Ÿ“ฆ **Affected Products**: Vigor300B (Load Balancer Router) & Vigor2960 (Router). ๐Ÿ“… **Version**: Specifically v1.5.1.4.

Q4What can hackers do? (Privileges/Data)

๐Ÿ’€ **Privileges**: Likely Root/System level due to command injection. ๐Ÿ“‚ **Data**: Full access to router configuration, logs, and potentially connected network data. ๐ŸŒ **Impact**: Complete control over the gateway device.

Q5Is exploitation threshold high? (Auth/Config)

โš ๏ธ **Threshold**: LOW. ๐Ÿšช **Auth**: No authentication required (PR:N). ๐ŸŒ **Access**: Network accessible (AV:N). ๐Ÿ–ฑ๏ธ **UI**: No user interaction needed (UI:N). This is a high-risk, easy-to-exploit flaw.

Q6Is there a public Exp? (PoC/Wild Exploitation)

๐Ÿ”“ **Exploit Status**: YES. ๐Ÿ“œ **PoC Available**: Public Nuclei template exists on GitHub (projectdiscovery). ๐ŸŒ **Wild Exploitation**: High risk due to low barrier to entry and available automation tools.

Q7How to self-check? (Features/Scanning)

๐Ÿ” **Self-Check**: Scan for the specific endpoint `/cgi-bin/mainfunction.cgi/apmcfgupload`. ๐Ÿงช **Test**: Use Nuclei with the provided CVE-2024-12987 template.โ€ฆ

Q8Is it fixed officially? (Patch/Mitigation)

๐Ÿ› ๏ธ **Fix**: Update firmware immediately. ๐Ÿ“‰ **Mitigation**: If update is impossible, restrict web management access to trusted IPs only via firewall rules.โ€ฆ

Q9What if no patch? (Workaround)

๐Ÿšง **Workaround**: Block external access to port 80/443 for the web management interface. ๐Ÿšซ **Disable**: If not needed, disable the web management interface entirely.โ€ฆ

Q10Is it urgent? (Priority Suggestion)

๐Ÿ”ฅ **Priority**: CRITICAL. ๐Ÿšจ **Urgency**: IMMEDIATE ACTION REQUIRED. With CVSS L/AC:L/PR:N, this is an easy target for automated botnets. Patch or isolate NOW.