CVE-2021-27250
D-Link DAP-2020: External Control of File Name or Path
Description
This vulnerability allows network-adjacent attackers to disclose sensitive information on affected installations of D-Link DAP-2020 v1.01rc001 Wi-Fi access points. Authentication is not required to exploit this vulnerability. The specific flaw exists within the processing of CGI scripts. When parsing the errorpage request parameter, the process does not properly validate a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to disclose stored credentials, leading to further compromise. Was ZDI-CAN-11856.
Severity (CVSS)
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 67.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.3% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-73 External Control of File Name or Path
Affected products
As the CNA lists them.
Is my server affected?
This CVE is in DAP-2020 of D-Link, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10201 supportannouncement.us.dlink.com
- https://www.zerodayinitiative.com/advisories/ZDI-21-205/ zerodayinitiative.com
Source: the record CVE-2021-27250 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse