CVE-2022-41140
D-Link Router Lighttpd Buffer Overflow Vulnerability
Description
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple D-Link routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the lighttpd service, which listens on TCP port 80 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-13796.
INFO
Published Date :
Jan. 26, 2023, 6:59 p.m.
Last Modified :
Nov. 21, 2024, 7:22 a.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2022-41140
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.0 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Public PoC/Exploit Available at Github
                                            CVE-2022-41140 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
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-41140.
                                        
| URL | Resource | 
|---|---|
| https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291 | Patch Vendor Advisory | 
| https://www.zerodayinitiative.com/advisories/ZDI-22-1290/ | Third Party Advisory VDB Entry | 
| https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291 | Patch Vendor Advisory | 
| https://www.zerodayinitiative.com/advisories/ZDI-22-1290/ | Third Party Advisory VDB Entry | 
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-41140 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-41140
            weaknesses.
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).
Collect some iot-related security articles, including vulnerability analysis, security conferences and papers, etc.
iot-security
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-41140 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2022-41140 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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291 Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-1290/  - 
                            
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=SAP10291 No Types Assigned https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10291 Patch, Vendor Advisory Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-1290/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-1290/ Third Party Advisory, VDB Entry Added CWE NIST CWE-787 Added CPE Configuration AND OR *cpe:2.3:o:dlink:dir-882-us_firmware:*:*:*:*:*:*:*:* versions up to (including) 1.30b07 OR cpe:2.3:h:dlink:dir-882-us:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:dlink:dir-867_firmware:*:*:*:*:*:*:*:* versions up to (including) 1.30b08 OR cpe:2.3:h:dlink:dir-867:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:dlink:dir-878_firmware:*:*:*:*:*:*:*:* versions up to (including) 1.30b06 OR cpe:2.3:h:dlink:dir-878:-:*:*:*:*:*:*:*  - 
                            
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 installations of multiple D-Link routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the lighttpd service, which listens on TCP port 80 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-13796. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple D-Link routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the lighttpd service, which listens on TCP port 80 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-13796.  
Vulnerability Scoring Details
Base CVSS Score: 8.8
Base CVSS Score: 8.8
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.77 }} 0.14%
score
0.81988
percentile