Stack-based Buffer Overflow in D-Link DCS Series Wi-Fi Cameras (alphapd)
A stack-based buffer overflow exists in the alphapd web server component of multiple D-Link DCS series Wi-Fi cameras. The vulnerability is triggered when a remote, authenticated attacker sends an overly long string in the WEPEncryption parameter to the wireless.htm endpoint. This allows for overwriting of stack memory, potentially leading to arbitrary code execution. Affected models include DCS-5009L (1.08.11 and below), DCS-5010L (1.14.09 and below), DCS-5020L (1.15.12 and below), DCS-5025L (1.03.07 and below), DCS-5030L (1.04.10 and below), DCS-930L (2.16.01 and below), DCS-931L (1.14.11 and below), DCS-932L (2.17.01 and below), DCS-933L (1.14.11 and below), and DCS-934L (1.05.04 and below).
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote, authenticated attacker to execute arbitrary code on the device, potentially gaining full control of the camera, accessing video streams, or pivoting to other devices on the network. This can lead to compromise of privacy, surveillance, and further network intrusion.
If you can’t patch tonight, do this now.
Restrict access to the camera's web interface to trusted networks only. Use strong, unique passwords for device authentication. Where possible, disable remote access and monitor device logs for suspicious activity until firmware can be updated.
Patch, then assume compromise.
Upgrade the firmware of affected D-Link DCS camera models to a version above those listed as vulnerable. D-Link has released patched firmware versions for these models. Ensure all devices are running the latest available firmware.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.