CVE-2023-41223
published 2024-05-03CVE-2023-41223: D-Link DIR-3040 prog.cgi SetQuickVPNSettings PSK Stack-Based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent…
PriorityP345medium6.8CVSS 3.1
AVAACLPRHUINSUCHIHAH
EPSS
0.70%
49.0th percentile
D-Link DIR-3040 prog.cgi SetQuickVPNSettings PSK Stack-Based Buffer Overflow Remote Code Execution Vulnerability. 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.
The specific flaw exists within the prog.cgi binary, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of a user-supplied string before copying it to a fixed-size stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21623.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| d-link | dir-3040 | — | — |
| dlink | dir-3040_firmware | <= 1.20b03 | — |
CVSS provenance
nvdv3.16.8MEDIUMCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv3.06.8MEDIUMCVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
cisa6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-54h8-92cq-9gxw: D-Link DIR-3040 prog
ghsa_unreviewed·2024-05-03
CVE-2023-41223 [MEDIUM] CWE-121 GHSA-54h8-92cq-9gxw: D-Link DIR-3040 prog
D-Link DIR-3040 prog.cgi SetQuickVPNSettings PSK Stack-Based Buffer Overflow Remote Code Execution Vulnerability. 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.
The specific flaw exists within the prog.cgi binary, which handles HNAP requests made to the lighttpd webserver listening on TCP ports 80 and 443. The issue results from the lack of proper validation of a user-supplied string before copying it to a fixed-size stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-21623.
CISA
Mitel MiVoice Connect Code Injection Vulnerability
cisa·2023-02-21·CVSS 6.8
CVE-2022-41223 [MEDIUM] CWE-94 Mitel MiVoice Connect Code Injection Vulnerability
Vulnerability: Mitel MiVoice Connect Code Injection Vulnerability
Affected: Mitel MiVoice Connect
The Director component in Mitel MiVoice Connect allows an authenticated attacker with internal network access to execute code within the context of the application.
Required Action: Apply updates per vendor instructions.
Notes: https://www.mitel.com/support/security-advisories/mitel-product-security-advisory-22-0008; https://nvd.nist.gov/vuln/detail/CVE-2022-41223
Remediation Due Date: 2023-03-14
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-05-03
Published