ZDI-23-1331: D-Link DIR-3040 prog.cgi SetQuickVPNSettings PSK Stack-Based Buffer Overflow Remote Code Execution Vulnerability
Published Sep 7, 2023
·Updated
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-3040 routers. Authentication is required to exploit this vulnerability.
Affected Software
1 affected component
D-Link DIR-3040
Event History
Sep 7, 2023
Advisory Published
05:00 AM
Data Sourced
05:00 AM
Description
Feb 2, 2025
Advisory Published
via ZDI·02:05 AM
Frequently Asked Questions
1
What is the severity of ZDI-23-1331?
The severity of ZDI-23-1331 is considered high due to its ability to allow arbitrary code execution.
2
How do I fix ZDI-23-1331?
To fix ZDI-23-1331, update the D-Link DIR-3040 router firmware to the latest version provided by D-Link.
3
Who is affected by ZDI-23-1331?
The vulnerability ZDI-23-1331 affects users of D-Link DIR-3040 routers with unpatched firmware.
4
Can ZDI-23-1331 be exploited remotely?
ZDI-23-1331 requires network adjacency, meaning an attacker must be on the same local network to exploit it.
5
What are the potential impacts of ZDI-23-1331?
If successfully exploited, ZDI-23-1331 can allow attackers to execute arbitrary code, potentially leading to device compromise.