Vulnerability record · CVE-2021-28840 · published 10 August 2021
CVE-2021-28840: Dlink dap-2310 firmware null pointer dereference vulnerability
Dlink · Dap 2310 Firmware
Null Pointer Dereference vulnerability exists in D-Link DAP-2310 2.07.RC031, DAP-2330 1.07.RC028, DAP-2360 2.07.RC043, DAP-2553 3.06.RC027, DAP-2660 1.13.RC074, DAP-2690 3.16.RC100, DAP-2695 1.17.RC063, DAP-3320 1.01.RC014 and DAP-3662 1.01.RC022 in the upload_config function of sbin/httpd binary. When the binary handle the specific HTTP GET request, the content in upload_file variable is NULL in the upload_config function then the strncasecmp would take NULL as first argument, and incur the NULL pointer dereference vulnerability.
Description
Null Pointer Dereference vulnerability exists in D-Link DAP-2310 2.07.RC031, DAP-2330 1.07.RC028, DAP-2360 2.07.RC043, DAP-2553 3.06.RC027, DAP-2660 1.13.RC074, DAP-2690 3.16.RC100, DAP-2695 1.17.RC063, DAP-3320 1.01.RC014 and DAP-3662 1.01.RC022 in the upload_config function of sbin/httpd binary. When the binary handle the specific HTTP GET request, the content in upload_file variable is NULL in the upload_config function then the strncasecmp would take NULL as first argument, and incur the NULL pointer dereference vulnerability.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
9 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve.pdf | ExploitThird Party Advisory |
| https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve2.pdf | Third Party Advisory |
| https://www.dlink.com/en/security-bulletin/ | Vendor Advisory |
| https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve.pdf | ExploitThird Party Advisory |
| https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve2.pdf | Third Party Advisory |
| https://www.dlink.com/en/security-bulletin/ | Vendor Advisory |
Track CVE-2021-28840 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-28840), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.