(0Day) D-Link DCS-960L HTTP Authorization Header Stack-based Buffer Overflow Remote Code Execution Vulnerability
The HTTP server on the D-Link DCS-960L camera copies the Authorization header into a fixed-length stack buffer without checking its length, so an oversized header overflows the stack. A network-adjacent attacker who sends such a request can run arbitrary code on the device without authenticating.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DCS-960L Wi-Fi cameras. Authentication is not 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
Impact
A network-adjacent attacker could execute arbitrary code in the context of the device without authentication; no patch was available at disclosure, so the only mitigation is to restrict network access to the device.
What the attacker needed
Network access to the camera on TCP port 80; no authentication needed
The fix
No fix was provided; the vendor did not patch it, and the advisory recommends restricting interaction with the device.
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. This camera's web server copies the value of a request header into a fixed-size buffer without checking how long it is, so a very long value spills over into neighbouring memory. That lets an attacker who can reach the camera over the network take control of the program and 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.