Realtek rtl819x Jungle SDK boa formIpQoS stack-based buffer overflow vulnerabilities
Two stack-based buffer overflows exist in the boa web server's formIpQoS function of the Realtek rtl819x Jungle SDK, triggered by oversized comment or entry_name parameters. An attacker could exploit these to achieve arbitrary code execution.
Originally disclosed on Cisco Talos
Two stack-based buffer overflow vulnerabilities exist in the boa formIpQoS functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially crafted series of HTTP requests can lead to remote 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
Impact
An attacker could exploit this vulnerability to achieve arbitrary code execution.
What the attacker needed
Admin credentials (default admin:admin used); access to the device's web interface
The fix
Realtek has provided updated software to their customers, but LevelOne has declined to patch the issues in their software.
How it was found
- Load the HTML page that calls the API to bypass CSRF protection.
- Send a POST request to /boafrm/formIpQoS with addQos=1, enabled=ON, bandwidth=1, and an oversized comment parameter.
- The boa process crashes due to the buffer overflow.
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.
A buffer overflow happens when a program copies more data into a fixed-size memory space than it can hold, causing the extra data to spill over and potentially overwrite other important memory. Here, the web server does not check the length of user-supplied text before copying it, so an attacker can send a very long value and crash the server or possibly run their own code.
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.