Tenda AC6 V5.0 HTTP authentication bypass vulnerability
An authentication bypass in the Tenda AC6 router's HTTP server allows an attacker to skip login by sending a request with an empty Host header. This grants full admin access, enabling actions such as flashing unsigned firmware and achieving arbitrary code execution.
Originally disclosed on Cisco Talos
An authentication bypass vulnerability exists in the HTTP authentication functionality of Tenda AC6 V5.0 V02.03.01.110. A specially crafted HTTP request can lead to arbitrary code execution.
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 authentication function incorrectly treats a NULL host value as a condition to bypass authentication, and an empty Host header causes the host field to become NULL.
Impact
An attacker could gain full admin access, allowing them to do anything a normal admin could, including flashing unsigned firmware, resulting in arbitrary code execution.
What the attacker needed
Network access to the router's web interface
How it was found
- Send an HTTP request to the router with an empty Host header.
- The request bypasses authentication and gains admin access.
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's web interface checks for a password, but a coding mistake lets anyone skip that check by sending a request with an empty 'Host' header. This gives full control over the router, as if you had logged in as the administrator.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.