Cyber Resilience

CVE-2024-7828

Memory Safety in Dlink Dns-120 Firmware

Public PoCMemory Safety
Published
15 August 2024
Modified
19 August 2024
Patch / advisory
CVSS Score v4 8.7
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.16 97th percentile
Risk Priority 58 floored blend · peak EPSS

Summary

CVE-2024-7828 is a high-severity Classic Buffer Overflow (CWE-120) vulnerability in Dlink Dns-120 Firmware. Its CVSS base score is 8.7 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-7828 is a buffer overflow vulnerability in the cgi_set_cover function within the /cgi-bin/photocenter_mgr.cgi file of multiple end-of-life D-Link NAS products, including DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05, and DNS-1550-04. The flaw is triggered by manipulation of the album_name argument and was assigned CWE-120; it carries a CVSS 4.0 score of 8.7 reflecting network-accessible, low-complexity exploitation that can result in high impact to confidentiality, integrity, and availability. The issue affects only unsupported devices whose maintainer confirmed end-of-life status prior to disclosure on 15 August 2024.

An authenticated remote attacker can supply a crafted album_name value to the affected CGI endpoint and trigger a buffer overflow, potentially leading to arbitrary code execution or denial of service on the device. Public exploit code has been released, confirming the attack can be initiated over the network without user interaction.

D-Link’s security advisory SAP10383 states that the listed products are no longer supported, recommends immediate retirement and replacement, and provides no patches or workarounds. The GitHub disclosure and VulDB entries similarly note the absence of vendor fixes due to the end-of-life status.

The associated EPSS score has remained flat at 0.4227 since publication, indicating moderate but stable exploitation interest without a post-disclosure rise.

EU & UK References

Vulnerability Data

** UNSUPPORTED WHEN ASSIGNED ** A vulnerability classified as critical was found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20240814. This vulnerability…

more

affects the function cgi_set_cover of the file /cgi-bin/photocenter_mgr.cgi. The manipulation of the argument album_name leads to buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: Vendor was contacted early and confirmed that the product is end-of-life. It should be retired and replaced.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-7830Same product: Dlink Dnr-202L
CVE-2024-7829Same product: Dlink Dnr-202L
CVE-2024-7831Same product: Dlink Dnr-202L
CVE-2024-7832Same product: Dlink Dnr-202L
CVE-2026-4213Same product: Dlink Dnr-202L
CVE-2026-5213Same product: Dlink Dnr-202L
CVE-2026-4212Same product: Dlink Dnr-202L
CVE-2026-5211Same product: Dlink Dnr-202L
CVE-2026-5212Same product: Dlink Dnr-202L
CVE-2026-4211Same product: Dlink Dnr-202L

Affected Assets

dlink
dns-120 firmware
all versions
dlink
dnr-202l firmware
all versions
dlink
dns-315l firmware
all versions
dlink
dns-320 firmware
all versions
dlink
dns-320l firmware
all versions
dlink
dns-320lw firmware
all versions
dlink
dns-321 firmware
all versions
dlink
dnr-322l firmware
all versions
dlink
dns-323 firmware
all versions
dlink
dns-325 firmware
all versions
+10 more product configuration(s) — see NVD for full list

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.2.1

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and analysis can find missing size checks before deployment.

Input validation directly enforces size checks before buffer copies.

Engineering principles require bounds checking and safe buffer handling in design.

Memory protection limits the impact of an overflow once it occurs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure development practices directly enforce bounds checking and input validation that prevent classic buffer overflows.

ID.RA-01 partial match
prevents

Vulnerability identification processes such as code review or scanning detect classic buffer overflows before exploitation.

PR.PS-02 partial match
prevents

Routine patching replaces vulnerable code containing unchecked buffer copies with corrected versions.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Secure coding directly requires bounds-checked memory operations, addressing the root cause of CWE-120.

finds

Security testing in development and acceptance can detect buffer overflows through fuzzing and static analysis, though it does not prevent them at the source.

prevents

Secure development life cycle mandates processes that can include input validation and bounds checking to prevent buffer overflows.

prevents

Application security requirements can specify input-size validation and safe buffer handling to mitigate classic buffer overflows.

prevents

Secure system architecture and engineering principles promote defensive coding patterns that reduce the likelihood of unchecked buffer copies.

References