CVE-2025-6881
BaseFortify
Publication date: 2025-06-30
Last updated on: 2025-07-08
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| dlink | di-8100_firmware | 16.07.21 |
| dlink | di-8100 | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-120 | The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. |
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-6881 is a critical buffer overflow vulnerability in the D-Link DI-8100 router firmware version 16.07.21. It occurs in the jhttpd web server component within the /pppoe_base.asp file due to improper handling of the 'mschap_en' argument. Specifically, the input to this parameter is copied into a local buffer without verifying its size, leading to a stack-based buffer overflow. This flaw can be exploited remotely by sending a specially crafted HTTP GET request with an oversized 'mschap_en' parameter, causing the router's web server process to crash. [1, 2]
How can this vulnerability impact me? :
This vulnerability can impact you by allowing a remote attacker to cause a denial of service on the affected D-Link DI-8100 router by crashing the jhttpd web server process through a buffer overflow. Additionally, because it affects confidentiality, integrity, and availability, it could potentially be exploited to compromise the device's security, leading to unauthorized access or disruption of network services. The exploit is publicly available and relatively easy to execute, increasing the risk. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking if the D-Link DI-8100 router firmware version 16.07.21 is in use and by identifying if the jhttpd web server component is running and accessible. One detection method is to scan for the presence of the /pppoe_base.asp endpoint on the device's web interface, for example by using HTTP requests or tools like curl or wget. Additionally, Google dorking with the query "inurl:pppoe_base.asp" can help identify vulnerable devices exposed on the internet. To confirm the vulnerability, sending a crafted HTTP GET request to /pppoe_base.asp with the "mschap_en" parameter set to a large string (e.g., 0x4000 zeros) can be used to test if the service crashes, indicating the vulnerability. Example command to test the endpoint (replace <router_ip>): curl -i "http://<router_ip>/pppoe_base.asp?mschap_en=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" -H "Cookie: wys_userid=admin; wys_passwd=<auth_cookie>" [1, 2]
What immediate steps should I take to mitigate this vulnerability?
No known mitigations or countermeasures have been documented for this vulnerability. The suggested immediate step is to replace the affected D-Link DI-8100 router firmware version 16.07.21 with an alternative product or firmware version that is not vulnerable. Additionally, restricting remote access to the router's web interface and monitoring for suspicious activity may help reduce exposure until a fix or replacement is implemented. [1]