ID

VAR-202305-0176


CVE

CVE-2023-32140


TITLE

D-Link DAP-1360 webproc var:sys_Token Heap-based Buffer Overflow Remote Code Execution Vulnerability

Trust: 0.7

sources: ZDI: ZDI-23-532

DESCRIPTION

D-Link DAP-1360 webproc var:sys_Token Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling requests to the /cgi-bin/webproc endpoint. When parsing the var:sys_Token parameter, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-18418. D-Link DAP-1360 is a router from D-Link, a Chinese company

Trust: 2.16

sources: NVD: CVE-2023-32140 // ZDI: ZDI-23-532 // CNVD: CNVD-2024-33374 // VULMON: CVE-2023-32140

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2024-33374

AFFECTED PRODUCTS

vendor:d linkmodel:dap-1360scope: - version: -

Trust: 1.3

sources: ZDI: ZDI-23-532 // CNVD: CNVD-2024-33374

CVSS

SEVERITY

CVSSV2

CVSSV3

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

Trust: 1.0

ZDI: CVE-2023-32140
value: HIGH

Trust: 0.7

CNVD: CNVD-2024-33374
value: MEDIUM

Trust: 0.6

CNVD: CNVD-2024-33374
severity: MEDIUM
baseScore: 6.8
vectorString: AV:A/AC:H/AU:N/C:C/I:C/A:C
accessVector: ADJACENT_NETWORK
accessComplexity: HIGH
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 3.2
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

zdi-disclosures@trendmicro.com: CVE-2023-32140
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

ZDI: CVE-2023-32140
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-532 // CNVD: CNVD-2024-33374 // NVD: CVE-2023-32140

PROBLEMTYPE DATA

problemtype:CWE-122

Trust: 1.0

sources: NVD: CVE-2023-32140

PATCH

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

Trust: 0.7

title:Patch for D-Link DAP-1360 Heap Buffer Overflow Vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/571141

Trust: 0.6

sources: ZDI: ZDI-23-532 // CNVD: CNVD-2024-33374

EXTERNAL IDS

db:NVDid:CVE-2023-32140

Trust: 2.4

db:ZDIid:ZDI-23-532

Trust: 1.8

db:DLINKid:SAP10324

Trust: 1.0

db:ZDI_CANid:ZDI-CAN-18418

Trust: 0.7

db:CNVDid:CNVD-2024-33374

Trust: 0.6

db:VULMONid:CVE-2023-32140

Trust: 0.1

sources: ZDI: ZDI-23-532 // CNVD: CNVD-2024-33374 // VULMON: CVE-2023-32140 // NVD: CVE-2023-32140

REFERENCES

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

Trust: 1.7

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

Trust: 1.1

url:http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2023-32140

Trust: 0.6

sources: ZDI: ZDI-23-532 // CNVD: CNVD-2024-33374 // VULMON: CVE-2023-32140 // NVD: CVE-2023-32140

CREDITS

Anonymous

Trust: 0.7

sources: ZDI: ZDI-23-532

SOURCES

db:ZDIid:ZDI-23-532
db:CNVDid:CNVD-2024-33374
db:VULMONid:CVE-2023-32140
db:NVDid:CVE-2023-32140

LAST UPDATE DATE

2024-09-19T22:55:01.115000+00:00


SOURCES UPDATE DATE

db:ZDIid:ZDI-23-532date:2023-05-04T00:00:00
db:CNVDid:CNVD-2024-33374date:2024-07-22T00:00:00
db:NVDid:CVE-2023-32140date:2024-09-18T19:15:20.780

SOURCES RELEASE DATE

db:ZDIid:ZDI-23-532date:2023-05-04T00:00:00
db:CNVDid:CNVD-2024-33374date:2024-07-17T00:00:00
db:NVDid:CVE-2023-32140date:2024-05-03T02:15:17.567