D-Link DIR-3040 prog.cgi SetQuickVPNSettings PSK Stack-Based Buffer Overflow Remote Code Execution Vulnerability
CVE-2023-41223

6.8MEDIUM

Key Information:

Vendor
D-link
Status
Vendor
CVE Published:
3 May 2024

Summary

The D-Link DIR-3040 routers are susceptible to a stack-based buffer overflow due to improper input validation in the prog.cgi binary. This vulnerability arises when handling HNAP requests via the lighttpd web server, specifically on TCP ports 80 and 443. By sending a specially crafted user-supplied string, an authenticated attacker can execute arbitrary code within the context of the root user. This poses a significant risk to network integrity, potentially allowing unauthorized access and control over the device. Network administrators are encouraged to review their configurations and apply any security patches provided by D-Link to mitigate this vulnerability.

Affected Version(s)

DIR-3040 120B03

References

CVSS V3.1

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.