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-7922

CVE-2024-7922: D-Link DNS-120 Firmware RCE Vulnerability

CVE-2024-7922 is a critical remote code execution vulnerability in D-Link DNS-120 firmware affecting multiple DNS/DNR models. Attackers can exploit command injection in myMusic.cgi to execute arbitrary code remotely.

Published: May 26, 2026

CVE-2024-7922 Overview

CVE-2024-7922 is a command injection vulnerability affecting more than 20 end-of-life D-Link network-attached storage (NAS) models. The flaw resides in the /cgi-bin/myMusic.cgi handler, specifically in functions including cgi_audio_search, cgi_create_playlist, cgi_get_album_all_tracks, cgi_get_alltracks_editlist, cgi_get_artist_all_album, cgi_get_genre_all_tracks, cgi_get_tracks_list, cgi_set_airplay_content, and cgi_write_playlist. Authenticated attackers can manipulate input parameters to inject operating system commands. The exploit has been publicly disclosed. D-Link has confirmed these products are end-of-life and will not receive a patch.

Critical Impact

Remote attackers with low-privilege access can execute arbitrary operating system commands on affected NAS devices, potentially exposing stored data and providing a foothold into the internal network.

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-19 - CVE-2024-7922 published to NVD
  • 2024-08-20 - Last updated in NVD database
  • End-of-Life Status - D-Link confirmed affected products are no longer supported and recommends retirement

Technical Details for CVE-2024-7922

Vulnerability Analysis

The vulnerability is a command injection flaw [CWE-77] in the myMusic.cgi binary shipped with D-Link NAS firmware. Multiple handler functions accept user-controlled parameters and pass them to underlying shell command execution without proper sanitization. An attacker who can reach the web interface and supply crafted parameters can break out of intended command context and execute arbitrary shell commands under the privileges of the CGI process. The EPSS score of 11.87% places this vulnerability in the 93rd percentile for likelihood of exploitation, reflecting the public availability of proof-of-concept code.

Root Cause

The handlers in /cgi-bin/myMusic.cgi concatenate request parameters directly into shell command strings. The lack of input validation, shell metacharacter filtering, or use of safer execution APIs allows characters such as ;, |, &, and backticks to terminate the intended command and append attacker-supplied commands.

Attack Vector

The attack is network-based and requires low-privileged authentication. An attacker sends an HTTP request to /cgi-bin/myMusic.cgi invoking one of the vulnerable functions, embedding shell metacharacters and commands into a parameter value. The injected commands are executed by the device's operating system. Public proof-of-concept material is available in the BuaaIOTTeam IoT D-Link NAS repository and a second function-specific writeup. Refer to these references for technical exploitation details.

Detection Methods for CVE-2024-7922

Indicators of Compromise

  • HTTP requests to /cgi-bin/myMusic.cgi containing shell metacharacters such as ;, |, &, $(, or backticks in query string or POST body parameters
  • Unexpected outbound connections originating from D-Link NAS device IP addresses, particularly to unfamiliar external hosts
  • New or modified files in NAS storage shares that were not created by legitimate users
  • Unexpected process activity or new persistent services on the NAS device

Detection Strategies

  • Inspect web server and reverse proxy logs for requests to myMusic.cgi with suspicious parameter content
  • Deploy network intrusion detection signatures that flag command injection patterns in HTTP traffic to NAS management interfaces
  • Monitor DNS queries and egress traffic from NAS devices for anomalies suggesting post-exploitation command-and-control activity

Monitoring Recommendations

  • Place affected NAS devices on isolated VLANs and log all north-south and east-west traffic
  • Forward network telemetry to a centralized analytics platform for retrospective hunting against the function names listed in this advisory
  • Alert on any authentication events to the NAS web UI from unexpected source addresses or at unusual times

How to Mitigate CVE-2024-7922

Immediate Actions Required

  • Retire and replace affected D-Link NAS devices, as the vendor has confirmed end-of-life status and will not issue a fix
  • Remove affected devices from any internet-exposed interface and block inbound access at the perimeter firewall
  • Rotate any credentials, SSH keys, or API tokens that were stored on or accessed through the NAS
  • Audit data stored on the appliance for unauthorized access or modification before decommissioning

Patch Information

No patch is available. D-Link has published an official end-of-life security advisory (SAP10383) confirming the products are no longer supported and directing customers to retire the hardware.

Workarounds

  • Disconnect affected NAS devices from the network if replacement is not immediate
  • If temporary operation is required, restrict access to the web interface using firewall ACLs that allow only specific management workstations
  • Disable the audio/music streaming features that expose the myMusic.cgi endpoint where the device configuration permits
  • Migrate data to a currently supported storage platform that receives security updates
bash
# Example perimeter firewall rules to block external access to NAS management
iptables -A FORWARD -p tcp --dport 80 -d <NAS_IP> -j DROP
iptables -A FORWARD -p tcp --dport 443 -d <NAS_IP> -j DROP
iptables -A INPUT -p tcp --dport 80 -s <ALLOWED_MGMT_SUBNET> -d <NAS_IP> -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -d <NAS_IP> -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDell Dns 120

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability11.87%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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
  • AvailabilityLow
  • CWE References
  • CWE-77
  • Technical References
  • GitHub PoC Repository

  • GitHub PoC Repository

  • VulDB #275108

  • VulDB #275108

  • VulDB Submission #391669
  • Vendor Resources
  • D-Link Security Advisory
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
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