SecurityContext

CVE-2020-15892: D-Link DAP-1520 - Buffer Overflow

  • Cve: CVE-2020-15892
  • Name: D-Link DAP-1520 - Buffer Overflow
  • Description: An issue was discovered in apply.cgi on D-Link DAP-1520 devices before 1.10b04Beta02. Whenever a user performs a login action from the web interface, the request values are being forwarded to the ssi binary. On the login page, the web interface restricts the password input field to a fixed length of 15 characters. The problem is that validation is being done on the client side, hence it can be bypassed. When an attacker manages to intercept the login request (POST based) and tampers with the vulnerable parameter (log_pass), to a larger length, the request will be forwarded to the webserver. This results in a stack-based buffer overflow. A few other POST variables, (transferred as part of the login request) are also vulnerable: html_response_page and log_user.
  • Impact: Attackers can execute arbitrary code remotely by exploiting the buffer overflow, potentially leading to full device compromise.
  • Remediation: Update to version 1.10b04Beta02 or later to fix the vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to intercept and tamper with login POST requests
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01638
  • Epss percentile: 0.76986
  • Assignee: [email protected]
  • Published at: 2020-07-22T19:15:12Z
  • Age in days: 2316
  • Modified at: 2026-06-17T02:57:21Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-15892
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-669Incorrect Resource Transfer Between Spheres

Public exploits

UrlSourceAdded date
https://research.loginsoft.com/bugs/classic-stack-based-buffer-overflow-in-dlink-firmware-dap-1520/nvd2020-07-22

References

UrlSourceTags
https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10169nvdPatch, Vendor Advisory
https://research.loginsoft.com/bugs/classic-stack-based-buffer-overflow-in-dlink-firmware-dap-1520/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dlink:dap-1520_firmware<= 1.10b04yesnvd/v1/products/dlink/dap-1520_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-07-22
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts