7.5
HIGH
CVE-2021-28840
D-Link Router Null Pointer Dereference
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.

INFO

Published Date :

Aug. 10, 2021, 6:15 p.m.

Last Modified :

Aug. 17, 2021, 3:01 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-28840 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Dlink dap-3662_firmware
2 Dlink dap-2310_firmware
3 Dlink dap-2330_firmware
4 Dlink dap-2360_firmware
5 Dlink dap-2553_firmware
6 Dlink dap-2660_firmware
7 Dlink dap-2690_firmware
8 Dlink dap-2695_firmware
9 Dlink dap-3320_firmware
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-28840.

URL Resource
https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve.pdf Exploit Third 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-28840 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-28840 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Aug. 17, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve.pdf No Types Assigned https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve.pdf Exploit, Third Party Advisory
    Changed Reference Type https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve2.pdf No Types Assigned https://github.com/zyw-200/EQUAFL/blob/main/dlink-email-cve2.pdf Third Party Advisory
    Changed Reference Type https://www.dlink.com/en/security-bulletin/ No Types Assigned https://www.dlink.com/en/security-bulletin/ Vendor Advisory
    Added CWE NIST CWE-476
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-2310_firmware:2.0.7.rc031:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-2310:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-2330_firmware:1.07.rc028:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-2330:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-2360_firmware:2.07.rc043:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-2360:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-2553_firmware:3.06.rc027:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-2553:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-2660_firmware:1.13.rc074:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-2660:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-2690_firmware:3.16.rc100:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-2690:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-2695_firmware:1.17.rc063:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-2695:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-3320_firmware:1.01.rc014:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-3320:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:dlink:dap-3662_firmware:1.01.rc022:*:*:*:*:*:*:* OR cpe:2.3:h:dlink:dap-3662:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-28840 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-28840 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.18 }} 0.02%

score

0.54051

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability