(Pwn2Own) TP-Link AX1800 hotplugd Firewall Rule Race Condition Vulnerability
A firewall rule handling flaw in the hotplugd daemon of TP-Link Archer AX21 routers allows remote attackers to access LAN-only services without authentication. Attackers could combine this with other vulnerabilities to execute code as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to gain access to LAN-side services on affected installations of TP-Link Archer AX21 routers. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a race condition in the hotplugd daemon's firewall rule handling causes rules to be applied incorrectly, allowing external access to LAN-only services.
Impact
An unauthenticated remote attacker could access LAN-side services and, by chaining with other vulnerabilities, execute arbitrary code as root.
What the attacker needed
Network access to the router; no authentication required
The fix
TP-Link issued a firmware update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This report describes a security flaw in a home router's firewall software. The firewall is supposed to block outside access to certain services that are only for devices on the local network, but a bug lets an attacker bypass that block. The attacker could then use other tricks to take full control of the router.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.