Tp-Link AC1350 Wireless MU-MIMO Gigabit Access Point (EAP225 V3) web interface memory corruption vulnerability
A stack-based buffer overflow in the httpd_portal service of the TP-Link EAP225 access point allows an unauthenticated attacker to crash the web interface by sending a crafted HTTP POST request with an overly long form value. This results in denial of service, requiring a device restart to recover.
the Vulnerability Discovery Follow
Originally disclosed on Cisco Talos
A memory corruption vulnerability exists in the web interface functionality of Tp-Link AC1350 Wireless MU-MIMO Gigabit Access Point (EAP225 V3) v5.1.0 Build 20220926. A specially crafted HTTP POST request can lead to denial of service of the device’s web interface.
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
The code copies attacker-controlled key and value strings into fixed-size stack buffers using the calculated length instead of the buffer size, leading to a stack-based buffer overflow.
Impact
An unauthenticated attacker can crash the httpd_portal service, causing denial of service; the service can only be restarted by rebooting the device, and for Omada-managed devices this may make them unmanageable without a restart.
What the attacker needed
Network access to the device's web interface; no authentication required
The fix
The vendor released new firmware to address the vulnerability.
How it was found
- Send an unauthenticated HTTP POST request to the device's web interface.
- Include a form parameter with a value of 0x815 bytes or longer.
- The httpd_portal service crashes due to stack corruption.
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 device's web server has a fixed-size memory area for storing form data. When a form value is longer than that area, it spills over and corrupts other memory, causing the server to crash. An attacker can trigger this without logging in, simply by sending a specially crafted request.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.