CVE-2022-40718
D-Link DIR-2150 Web Service Stack Buffer Overflow
Description
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the anweb service, which listens on TCP ports 80 and 443 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15728.
INFO
Published Date :
Jan. 26, 2023, 6:59 p.m.
Last Modified :
Feb. 2, 2023, 3:17 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-40718
.
URL | Resource |
---|---|
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10304 | Patch Vendor Advisory |
https://www.zerodayinitiative.com/advisories/ZDI-22-1221/ | Third Party Advisory VDB Entry |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-40718
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-40718
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10304 No Types Assigned https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10304 Patch, Vendor Advisory Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-1221/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-1221/ Third Party Advisory, VDB Entry Added CWE NIST CWE-787 Added CPE Configuration AND OR *cpe:2.3:o:dlink:dir-2150_firmware:*:*:*:*:*:*:*:* versions up to (including) 4.0.1 OR cpe:2.3:h:dlink:dir-2150:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 26, 2023
Action Type Old Value New Value Changed Description This vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the anweb service, which listens on TCP ports 80 and 443 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15728. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the anweb service, which listens on TCP ports 80 and 443 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15728.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-40718
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-40718
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.10 }} 0.02%
score
0.43324
percentile