The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-39950

CVE-2024-39950: Dahuasecurity NVR4104-4KS2/L DoS Flaw

CVE-2024-39950 is a denial-of-service vulnerability in Dahuasecurity NVR4104-4KS2/L Firmware that allows attackers to force device initialization via crafted packets. This article covers technical details, affected versions, and mitigations.

Updated: May 15, 2026

CVE-2024-39950 Overview

CVE-2024-39950 affects multiple Dahua Network Video Recorder (NVR) and IP Camera (IPC) product lines. Attackers can send crafted data packets to a vulnerable network interface and trigger device initialization remotely. The flaw requires no authentication and no user interaction, exposing surveillance infrastructure to unauthorized reset and takeover. Affected models span the NVR4000-series (4KS2/L, 4KS2/I, 4KS3) and the IPC-HFS8849G-Z3-LED and IPC-HFS8449G-Z7-LED cameras. The vulnerability is classified under [CWE-121] Stack-based Buffer Overflow and [CWE-20] Improper Input Validation.

Critical Impact

Unauthenticated network attackers can force device initialization on Dahua NVRs and IP cameras, enabling credential reset and full administrative takeover of surveillance systems.

Affected Products

  • Dahua NVR4000-series 4KS2/L firmware (NVR4104, NVR4108, NVR4116, NVR4204, NVR4208, NVR4216, NVR4232 variants)
  • Dahua NVR4000-series 4KS2/I and 4KS3 firmware (NVR4416, NVR4432, NVR4816, NVR4832 variants)
  • Dahua IPC-HFS8849G-Z3-LED and IPC-HFS8449G-Z7-LED IP cameras

Discovery Timeline

  • 2024-07-31 - CVE-2024-39950 published to NVD
  • 2025-09-30 - Last updated in NVD database

Technical Details for CVE-2024-39950

Vulnerability Analysis

The vulnerability resides in a network-facing interface exposed by Dahua NVR and IPC firmware. The interface accepts data packets that drive the device initialization workflow without enforcing proper authentication or input validation. An attacker on the network can craft packets that the device interprets as a legitimate initialization request. Successful exploitation impacts confidentiality, integrity, and availability of the surveillance device.

The presence of [CWE-121] Stack-based Buffer Overflow in the advisory indicates that the malformed packet handling also corrupts stack memory in the initialization routine. Combined with [CWE-20] Improper Input Validation, the flaw can lead beyond a logical reset to memory-level compromise of the embedded firmware.

Root Cause

The root cause is twofold. First, the initialization interface lacks state checks confirming whether the device has already completed initial setup, allowing repeated initialization to be triggered remotely. Second, the packet parser does not validate the size or structure of attacker-supplied fields before copying them onto the stack, producing a buffer overflow condition in the firmware.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker with reachability to the device management interface, including any NVR or camera exposed to the internet or to a flat internal network, can deliver crafted packets directly. Dahua NVRs are frequently exposed via TCP ports 37777, 80, and 443. Successful initialization grants the attacker the ability to set new administrative credentials, after which the device can be repurposed for surveillance interception, lateral movement, or botnet enrollment.

No verified public exploit code is currently available. See the Dahua Security Advisory #768 for vendor-supplied technical details.

Detection Methods for CVE-2024-39950

Indicators of Compromise

  • Unexpected device reboot or return to factory initialization state on Dahua NVR or IPC endpoints
  • Administrative password reset events on surveillance devices that were not initiated by an authorized operator
  • Inbound connections to Dahua management ports (TCP 37777, 80, 443) from untrusted source addresses
  • New or modified administrator accounts on NVR or camera web interfaces without a corresponding change ticket

Detection Strategies

  • Monitor network traffic for malformed or oversized packets directed at Dahua device management ports and correlate with subsequent device reinitialization events
  • Compare device configuration baselines against the running configuration to identify silent reset to defaults
  • Enable syslog forwarding from Dahua devices to a central log platform and alert on device init, factory reset, or admin password change events

Monitoring Recommendations

  • Inventory all Dahua NVR and IPC devices and confirm firmware versions against the vendor advisory
  • Track authentication failures and configuration change events on surveillance subnets continuously
  • Establish alerting for any external traffic reaching surveillance VLANs, which should normally be segmented

How to Mitigate CVE-2024-39950

Immediate Actions Required

  • Apply Dahua firmware updates referenced in Dahua Security Advisory #768 to all affected NVR and IPC models
  • Remove direct internet exposure of Dahua management interfaces and place devices behind a firewall or VPN
  • Audit administrator accounts on all surveillance devices and rotate credentials after patching

Patch Information

Dahua has published remediated firmware for the affected NVR4000-series and IPC products. Refer to Dahua Security Advisory #768 for the specific firmware build numbers per model and the upgrade procedure. Verify the firmware hash after download and confirm device version through the web management interface after upgrade.

Workarounds

  • Restrict access to Dahua management ports (TCP 37777, 80, 443) using firewall ACLs that permit only authorized administrative subnets
  • Segment surveillance devices onto a dedicated VLAN with no direct route to or from the internet
  • Disable UPnP and port forwarding for surveillance devices on perimeter routers until patched firmware is deployed
bash
# Example firewall ACL restricting access to Dahua management interfaces
iptables -A INPUT -p tcp --dport 37777 -s 10.10.50.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 37777 -j DROP
iptables -A INPUT -p tcp --dport 80 -s 10.10.50.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -s 10.10.50.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechDahuasecurity

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121

  • NVD-CWE-noinfo

  • CWE-20
  • Vendor Resources
  • Dahua Security Advisory #768
  • Related CVEs
  • CVE-2021-33044: Dahua IPC-HUM7xxx Auth Bypass Vulnerability

  • CVE-2021-33045: Dahuasecurity IPC-HUM7xxx Auth Bypass
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