Credential disclosure via unchecked CGI file path
Published Apr 14, 2021 · Updated Aug 3, 2024
Path traversal in D-Link DAP-2020 1.01rc001 allows network-adjacent attackers to read stored credentials through a CGI request. The CGI handler accepts the errorpage request parameter as a file path without validating it before file operations. Exploitation requires adjacency to the access point but no authentication, and exposed files can include stored credentials.
Summary
What happened
Path traversal in D-Link DAP-2020 1.01rc001 allows network-adjacent attackers to read stored credentials through a CGI request. The CGI handler accepts the errorpage request parameter as a file path without validating it before file operations. Exploitation requires adjacency to the access point but no authentication, and exposed files can include stored credentials.
The record
- CVE
- CVE-2021-27250
- Published
- Apr 14, 2021
- Updated
- Aug 3, 2024
- Vendor
- D-Link
- Product
- DAP-2020
- Classifications
- CWE-73, T1005
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 14, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=v1.01rc001
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- DAP-2020 webproc arbitrary file-read proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo