CVE-2020-15892 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based buffer overflow in the login handler allows remote attackers to execute arbitrary code by sending oversized login parameters.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-15892?

CVE-2020-15892 is a critical memory corruption vulnerability in n/a, published on 22 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-669

Which versions are affected by CVE-2020-15892?

It affects 1 product.

Products include Dlink Dap-1520 Firmware.

How do I fix CVE-2020-15892?

No fix has been published for CVE-2020-15892 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-15892 being exploited?

There is no known exploitation of CVE-2020-15892 in the wild and no public exploit code.

Sources

Also known as GHSA-mh3c-hpgm-9fqj.

Is CVE-2020-15892 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free