WatchGuard FireWare OS networkd network_wireless_kick_off_user_cb Stack-based Buffer Overflow Remote Code Execution Vulnerability
A stack-based buffer overflow exists in WatchGuard FireWare OS when handling wireless client management requests, because the length of user-supplied data is not validated before being copied into a fixed-length stack buffer. An authenticated remote attacker could exploit this to execute arbitrary code as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of WatchGuard FireWare OS. Authentication is 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
The code copies user-supplied data into a fixed-length stack buffer without first checking its length.
Impact
An authenticated remote attacker could execute arbitrary code with root privileges on affected installations.
What the attacker needed
Authentication required; network access to the device
The fix
WatchGuard issued an 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.
A buffer is a small reserved area of memory. If a program copies more data into it than it can hold without checking the size, the extra data spills over into nearby memory, which is called a buffer overflow. Here an attacker who is already logged in could send specially crafted wireless management requests to overwrite memory and run their own code with the highest privileges on the device.
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.