ID

VAR-202309-0334


CVE

CVE-2023-41230


TITLE

D-Link Systems, Inc.  of  DIR-3040  Out-of-bounds write vulnerability in firmware

Trust: 0.8

sources: JVNDB: JVNDB-2023-028934

DESCRIPTION

D-Link DIR-3040 HTTP Request Processing Referer 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 not 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-21674. D-Link Systems, Inc. of DIR-3040 An out-of-bounds write vulnerability exists in firmware.Information is obtained, information is tampered with, and service operation is interrupted. (DoS) It may be in a state

Trust: 2.34

sources: NVD: CVE-2023-41230 // JVNDB: JVNDB-2023-028934 // ZDI: ZDI-23-1338 // VULMON: CVE-2023-41230

AFFECTED PRODUCTS

vendor:d linkmodel:dir-3040scope: - version: -

Trust: 1.5

vendor:dlinkmodel:dir-3040scope:lteversion:1.20b03

Trust: 1.0

vendor:d linkmodel:dir-3040scope:lteversion:dir-3040 firmware 1.20b03 and earlier

Trust: 0.8

vendor:d linkmodel:dir-3040scope:eqversion: -

Trust: 0.8

sources: ZDI: ZDI-23-1338 // JVNDB: JVNDB-2023-028934 // NVD: CVE-2023-41230

CVSS

SEVERITY

CVSSV2

CVSSV3

zdi-disclosures@trendmicro.com: CVE-2023-41230
value: HIGH

Trust: 1.0

nvd@nist.gov: CVE-2023-41230
value: HIGH

Trust: 1.0

NVD: CVE-2023-41230
value: HIGH

Trust: 0.8

ZDI: CVE-2023-41230
value: HIGH

Trust: 0.7

zdi-disclosures@trendmicro.com: CVE-2023-41230
baseSeverity: HIGH
baseScore: 7.5
vectorString: CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT
attackComplexity: HIGH
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 1.6
impactScore: 5.9
version: 3.0

Trust: 1.0

nvd@nist.gov: CVE-2023-41230
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.1

Trust: 1.0

NVD: CVE-2023-41230
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

ZDI: CVE-2023-41230
baseSeverity: HIGH
baseScore: 7.5
vectorString: AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT
attackComplexity: HIGH
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 1.6
impactScore: 5.9
version: 3.0

Trust: 0.7

sources: ZDI: ZDI-23-1338 // JVNDB: JVNDB-2023-028934 // NVD: CVE-2023-41230 // NVD: CVE-2023-41230

PROBLEMTYPE DATA

problemtype:CWE-121

Trust: 1.0

problemtype:CWE-787

Trust: 1.0

problemtype:Stack-based buffer overflow (CWE-121) [ others ]

Trust: 0.8

problemtype: Out-of-bounds writing (CWE-787) [NVD evaluation ]

Trust: 0.8

sources: JVNDB: JVNDB-2023-028934 // NVD: CVE-2023-41230

PATCH

title:D-Link has issued an update to correct this vulnerability.url:https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10350

Trust: 0.7

sources: ZDI: ZDI-23-1338

EXTERNAL IDS

db:NVDid:CVE-2023-41230

Trust: 3.4

db:ZDIid:ZDI-23-1338

Trust: 2.6

db:DLINKid:SAP10350

Trust: 1.8

db:JVNDBid:JVNDB-2023-028934

Trust: 0.8

db:ZDI_CANid:ZDI-CAN-21674

Trust: 0.7

db:VULMONid:CVE-2023-41230

Trust: 0.1

sources: ZDI: ZDI-23-1338 // VULMON: CVE-2023-41230 // JVNDB: JVNDB-2023-028934 // NVD: CVE-2023-41230

REFERENCES

url:https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=sap10350

Trust: 2.5

url:https://www.zerodayinitiative.com/advisories/zdi-23-1338/

Trust: 1.9

url:https://nvd.nist.gov/vuln/detail/cve-2023-41230

Trust: 0.8

sources: ZDI: ZDI-23-1338 // VULMON: CVE-2023-41230 // JVNDB: JVNDB-2023-028934 // NVD: CVE-2023-41230

CREDITS

Nicholas Zubrisky

Trust: 0.7

sources: ZDI: ZDI-23-1338

SOURCES

db:ZDIid:ZDI-23-1338
db:VULMONid:CVE-2023-41230
db:JVNDBid:JVNDB-2023-028934
db:NVDid:CVE-2023-41230

LAST UPDATE DATE

2025-05-17T23:00:02.609000+00:00


SOURCES UPDATE DATE

db:ZDIid:ZDI-23-1338date:2023-09-07T00:00:00
db:JVNDBid:JVNDB-2023-028934date:2025-05-16T01:53:00
db:NVDid:CVE-2023-41230date:2025-05-15T12:44:36.720

SOURCES RELEASE DATE

db:ZDIid:ZDI-23-1338date:2023-09-07T00:00:00
db:JVNDBid:JVNDB-2023-028934date:2025-05-16T00:00:00
db:NVDid:CVE-2023-41230date:2024-05-03T03:15:35.717