NETGEAR N300 WNR2000v5 unauthenticated host access point daemon denial-of-service vulnerability
The hostapd daemon on the NETGEAR N300 router does not check that a WPS device-info request has been made before handling a PutMessage SOAP request, so it dereferences a null structure. An unauthenticated attacker can send a crafted SOAP request to crash the service.
Originally disclosed on Cisco Talos
An exploitable denial-of-service vulnerability exists in the Host Access Point Daemon (hostapd) on the NETGEAR N300 (WNR2000v5) wireless router. A SOAP request sent in an invalid sequence to the <WFAWLANConfig:1#PutMessage> service can cause a null pointer dereference, resulting in the hostapd service crashing.
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 the PutMessage handler passes a structure to wps_process_msg without first checking that GetDeviceInfo has populated it, leading to a null pointer dereference.
Impact
An unauthenticated attacker on the network can crash the hostapd service, causing a denial of service until it restarts.
What the attacker needed
Network access to the router's hostapd port; no prior GetDeviceInfo request sent
How it was found
- Send a PutMessage SOAP request to the wps_control endpoint on the router's hostapd port without first sending GetDeviceInfo.
- The daemon passes a null structure into wps_process_msg and crashes with a segmentation fault.
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.
The router runs a small service that handles wireless setup messages. That service keeps some information in memory that is only filled in after one particular request is made first. If a different request arrives before that, the service reads from an empty pointer and crashes, which takes the wireless setup service offline until it restarts.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.