LB-LINK WR1210M (CVE-2026-19971) 未授权配置泄露漏洞与访客网络扩展攻击链分析
Extended exploit chain based on CVE-2026-19971 (backup.cgi unauthorized configuration disclosure) · First disclosed by the author · Verified on real hardware
CVE-2026-19971 (LB-LINK brand devices, /www/cgi-bin/backup.cgi missing authentication, CWE-306 / CWE-287) was disclosed by m1nkvpm on 2026-08-17 via VulDB (VDB-391148, submission #873139). Its core description covers "unauthorized configuration retrieval from the trusted domain (LAN / primary WiFi)" — see the original CVE for details; this report does not elaborate further.
backup.cgi. This chain proves that even when guest isolation is enabled in the configuration, a transient window still exists that allows it to be bypassed, and the attack surface spills over from the "internal network" to "any stranger connected to the guest WiFi".Mechanism in one sentence: The router enables firewall rules for the guest WiFi that isolate it from the main network, but at the instant the isolation / firewall service reloads or the interface reconnects, the ruleset has an ms-level gap — at this moment the isolation has not yet been fully issued / applied. An attacker within the guest network actively and repeatedly triggers enable ↔ disable of that service, forcing the rules to reload repeatedly, and within each reload's transient window initiates access to backup.cgi and captures the response packets, thereby obtaining a complete configuration backup while "guest isolation is nominally still in effect".
Three key points:
firewall4 "drop input by default" commit states: at boot / reload the ruleset is mostly empty and interface rules are added incrementally, "if a packet hits before the isolation / DNAT rules are in place, it will cause incorrect forwarding or bypass"; the NAT masquerade reload race mailing list thread also recorded "a transient window where filter rules are not in place and nat rules are missing". This brand's devices (firmware system based on OpenWrt) inherit this ecosystem, and therefore also have this window.| Dimension | Base CVE (original disclosure) | This attack chain (guest bypass) |
|---|---|---|
| Reachable domain | Trusted LAN / primary WiFi | Untrusted guest WiFi |
| Attacker profile | Internal / semi-trusted user | Any stranger connected to the guest WiFi |
| Trigger method | Direct connection from trusted domain / waiting for reconnect window | Actively induced reload window |
| Exposure radius | Inside the device owner's network | Expanded to public guest spaces (stores, cafes, etc.) |
backup.cgi response is obtained within the window, its 32-byte private header can be stripped, the package unpacked to extract the etc/* configuration tree, and all credentials recovered — Web admin password, WiFi PSK, root (SSH) hash, etc. — fully consistent with the credential leakage of the base CVE, but because the attacker is less controllable, the consequences are more irreversible.This chain is the concrete instantiation and first public disclosure of the aforementioned "guest isolation bypass" class of defects on LB-LINK brand routers.
firewall4 "drop input by default" remediation approach—accept no inbound/forward traffic until reload is complete).enable / disable, eliminating the possibility of "actively creating a window."backup.cgi use session authentication consistent with the main management plane, allowing only logged-in users to download backups.This report is intended solely for security research and defensive hardening. It contains no reproducible PoC, EXP, HTTP request samples, Payload, or exploit code; all paths are presented as mechanism and logic descriptions and cannot be directly used for unauthorized testing. It is strictly prohibited to use this document for device testing without explicit authorization. For vulnerability disclosure, please follow responsible disclosure procedures, notify the vendor first, and reserve a remediation window.