A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-7828

CVE-2024-7828: D-Link DNS-120 Buffer Overflow Vulnerability

CVE-2024-7828 is a critical buffer overflow vulnerability in D-Link DNS-120 and multiple DNR/DNS series devices. Attackers can exploit this remotely via the photocenter_mgr.cgi file. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 26, 2026

CVE-2024-7828 Overview

CVE-2024-7828 is a buffer overflow vulnerability affecting a broad range of end-of-life D-Link network-attached storage (NAS) devices through firmware version 20240814. The flaw resides in the cgi_set_cover function within /cgi-bin/photocenter_mgr.cgi, where the album_name argument is processed without proper bounds checking. Attackers can exploit this issue remotely with low privileges over the network, and a public disclosure has made exploit details available. D-Link confirmed the affected products are end-of-life and will not receive patches, directing customers to retire and replace the devices. The vulnerability is classified under CWE-120: Buffer Copy without Checking Size of Input.

Critical Impact

Remote attackers with low-privileged authentication can trigger a buffer overflow in the photocenter CGI handler, potentially leading to arbitrary code execution on unsupported D-Link NAS appliances that will not receive a vendor patch.

Affected Products

  • D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321 (firmware up to 20240814)
  • D-Link DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345 (firmware up to 20240814)
  • D-Link DNS-726-4, DNS-1100-4, DNS-1200-05, DNS-1550-04 (firmware up to 20240814)

Discovery Timeline

  • 2024-08-15 - CVE-2024-7828 published to the National Vulnerability Database
  • 2024-08-15 - D-Link publishes Security Announcement SAP10383 confirming end-of-life status
  • 2024-08-19 - Last updated in NVD database

Technical Details for CVE-2024-7828

Vulnerability Analysis

The vulnerability is a classic stack or heap buffer overflow in the cgi_set_cover function exposed by the photocenter_mgr.cgi binary. This CGI endpoint handles photo album management requests on the affected NAS devices. When a client submits a request that sets the album cover, the handler reads the album_name parameter from the HTTP request and copies it into a fixed-size buffer without validating the input length.

Because the attack vector is the network and only low-privileged credentials are required, an attacker who has obtained or guessed valid NAS credentials can reach the vulnerable endpoint and corrupt adjacent memory. Successful exploitation can crash the device, alter control flow, or enable execution of attacker-supplied shellcode within the context of the web service. Public proof-of-concept documentation is available in the BuaaIOTTeam Iot_Dlink_NAS GitHub repository.

Root Cause

The root cause is the absence of length validation on the album_name parameter before it is copied into a fixed-size destination buffer. This is a textbook instance of CWE-120, commonly introduced by use of unsafe C string functions such as strcpy or sprintf without prior length checks. The affected products are no longer maintained, so the underlying source defect will not be remediated by the vendor.

Attack Vector

An attacker reaches the vulnerable endpoint over HTTP, authenticating with any valid NAS account. The attacker then sends a crafted request to /cgi-bin/photocenter_mgr.cgi invoking the cgi_set_cover action with an oversized album_name value. The overflow corrupts memory within the CGI process and can be tuned to overwrite a saved return address or function pointer, redirecting execution. Devices exposed to the internet, or reachable through compromised internal hosts, are accessible without additional pivoting.

// Vulnerable pattern (conceptual representation based on CWE-120 and public PoC)
// No verified vendor source code is available - shown for illustration only.
POST /cgi-bin/photocenter_mgr.cgi HTTP/1.1
Host: <nas-device>
Cookie: <valid-session>
Content-Type: application/x-www-form-urlencoded

cmd=cgi_set_cover&album_name=AAAAAAAA...[oversized payload]...AAAA

Detection Methods for CVE-2024-7828

Indicators of Compromise

  • HTTP POST requests to /cgi-bin/photocenter_mgr.cgi containing abnormally long album_name parameter values
  • Unexpected restarts, crashes, or process respawns of the photocenter_mgr.cgi handler in NAS system logs
  • New outbound connections initiated by the NAS device to unfamiliar IP addresses following CGI requests
  • Unauthorized creation or modification of files in shared NAS volumes after a low-privileged login session

Detection Strategies

  • Inspect web access logs and reverse-proxy telemetry for requests targeting photocenter_mgr.cgi with parameter lengths exceeding several hundred bytes.
  • Deploy network intrusion detection signatures that flag oversized album_name values to known D-Link NAS CGI endpoints.
  • Correlate authentication events on NAS devices with subsequent CGI requests to identify suspicious low-privileged sessions.

Monitoring Recommendations

  • Forward NAS web server and authentication logs to a central SIEM for retention and correlation.
  • Alert on any inbound HTTP traffic to NAS management interfaces from outside trusted administrative networks.
  • Monitor outbound traffic from NAS devices for anomalous protocols, beaconing patterns, or connections to known malicious infrastructure.

How to Mitigate CVE-2024-7828

Immediate Actions Required

  • Retire and replace affected D-Link NAS devices, as the vendor has confirmed these products are end-of-life and will not receive a fix.
  • Remove the affected devices from any internet-facing exposure and block inbound access at the perimeter firewall.
  • Rotate all credentials previously used on the affected NAS appliances, including any shared service accounts.
  • Audit data stored on the NAS for integrity and migrate it to a supported storage platform.

Patch Information

No patch is available. D-Link Security Announcement SAP10383 confirms that the listed DNS, DNR, and DNS-series NAS products are end-of-life and end-of-service. The vendor recommends retirement and replacement with a currently supported product. Additional tracking is available in VulDB entry 274726.

Workarounds

  • Isolate the affected NAS devices on a dedicated VLAN with no routing to user workstations or the internet.
  • Restrict access to the NAS web administration interface to a small set of management IP addresses using ACLs.
  • Disable the photo center or album functionality where the device configuration allows it, reducing exposure of the photocenter_mgr.cgi endpoint.
  • Require VPN access for any remaining administrative interaction with the device until decommissioning is complete.
bash
# Example: block inbound access to NAS web interface at an upstream firewall
# Replace <NAS_IP> with the affected device address
iptables -I FORWARD -p tcp -d <NAS_IP> --dport 80 -j DROP
iptables -I FORWARD -p tcp -d <NAS_IP> --dport 443 -j DROP

# Example: restrict management access to a single admin subnet
iptables -I FORWARD -p tcp -s 10.10.10.0/24 -d <NAS_IP> --dport 443 -j ACCEPT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechDlink Dns 120

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability42.27%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS: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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-120
  • Technical References
  • GitHub PoC Documentation

  • VulDB CTIID #274726

  • VulDB #274726

  • VulDB Submission #390114
  • Vendor Resources
  • D-Link Security Publication SAP10383
  • Related CVEs
  • CVE-2024-7831: D-Link DNS-120 Buffer Overflow Vulnerability

  • CVE-2024-7829: D-Link DNS-120 Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English