D-Link DIR-3040 prog.cgi SetTriggerPPPoEValidate Stack-Based Buffer Overflow Remote Code Execution Vulnerability
CVE-2023-41227

6.8MEDIUM

Key Information:

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

Summary

A significant vulnerability exists in the D-Link DIR-3040 router due to a flaw in the prog.cgi component, which processes HNAP requests on the lighttpd web server. This flaw stems from inadequate validation of a user-supplied string before it is copied into a stack-based buffer of fixed size. Network-adjacent attackers, possessing the necessary authentication, can exploit this vulnerability to execute arbitrary code with root privileges on the affected router installations. Proper security measures should be undertaken to mitigate risks associated with 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

.