Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2013-6117: Authentication Bypass in Dahua DVR 2.608.0000.0

Published Jul 11, 2014 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v2
EPSS70.2%99th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Dahua Security
IdentifiersCVE-2013-6117CWE-287 · Improper Authentication

CVE-2013-6117 is an authentication bypass vulnerability in Dahua DVR firmware versions 2.608.0000.0 and 2.608.GV00.0. Remote attackers can exploit this flaw by sending crafted requests to TCP port 37777, allowing them to bypass authentication mechanisms. Successful exploitation enables attackers to obtain sensitive information, including user credentials, change user passwords, clear log files, and perform other privileged actions on the device.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Attackers can remotely gain unauthorized access to Dahua DVR devices, retrieve user credentials, modify user passwords, erase log files, and perform other administrative actions. This can lead to compromise of video surveillance systems, loss of forensic evidence, and further lateral movement within the network. The exposure of device credentials via IoT search engines like ZoomEye further lowers the barrier to exploitation, enabling mass compromise of affected devices.

Mitigation

If you can’t patch tonight, do this now.

Restrict network access to TCP port 37777 using firewalls or network segmentation. Disable unnecessary remote access features and ensure strong, unique passwords are used. Monitor device logs for unauthorized access attempts and remove devices from public internet exposure whenever possible.

Remediation

Patch, then assume compromise.

Upgrade Dahua DVR devices to a firmware version that addresses CVE-2013-6117. If a patch is not available, consider replacing the device with a supported model. Regularly monitor vendor advisories for updates and security patches.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
dahua-dvr-metasploitThis repository contains a single Metasploit auxiliary module, dahua_dvr_auth_bypass.rb, targeting Dahua DVR/NVR devices vulnerable to CVE-2013-6117. Because it is a Metasploit module, the relevant analysis is limited to this one exploit file. The module is not merely a detector: it performs active unauthenticated interaction with the target over Dahua's proprietary TCP protocol on port 37777 and can also optionally probe the HTTP/HTTPS management interface. The module supports multiple actions to extract sensitive information from a vulnerable device, including firmware version, serial number, user accounts, groups, channel/camera information, DDNS settings, email settings, and NAS settings. It also includes a RESET action to change an existing user's password, with an option to generate a random password if none is supplied, and a CLEAR_LOGS option to erase DVR logs after operations complete. This makes it both an information disclosure and account-manipulation tool. Structurally, the file defines a MetasploitModule class inheriting from Msf::Auxiliary and includes Remote::Tcp, Scanner, and Report mixins. It registers user-configurable options such as USERNAME, PASSWORD, TIMEOUT, HTTP_FALLBACK, HTTP_PORT, HTTP_SSL, and RPORT. The code contains hardcoded binary request constants for Dahua protocol operations and helper/reporting methods for storing recovered credentials associated with DDNS, SMTP/email, NAS/FTP, and HTTP services. The presence of reporting helpers indicates the module is designed for operational scanning and credential harvesting within the Metasploit ecosystem. Fingerprintable targets and endpoints include TCP port 37777 for the Dahua binary service, optional HTTP port 80 and HTTPS port 443, and unauthenticated CGI paths /cgi-bin/userManager.cgi?action=getUserInfoAll and /cgi-bin/configManager.cgi?action=getConfig&name=General. The module also uses Dahua-specific HTTP signatures such as Dahua-Webs, DHttp, DH_WEB, webLogin, and a JSON "session" field to identify compatible web interfaces. Overall, this is a mature, framework-integrated exploit/scanner module intended to find vulnerable Dahua DVRs, extract configuration and credentials, and optionally alter device state by resetting passwords and clearing logs.fsn4k3 · Disclosed Jun 4, 2026 · Framework: metasploit · ruby · network · webWeaponizeddahua_dvr_auth_bypass.rbThis repository contains a single Metasploit auxiliary scanner module targeting Dahua-based DVRs vulnerable to CVE-2013-6117 (authentication bypass). The module communicates with the DVR over TCP (default port 37777) using custom binary protocol payloads. It can extract a wide range of sensitive information, including user hashes, email and DDNS settings, NAS configuration, channel assignments, group information, and the device serial number. Additionally, it can reset the password of a specified user and clear the device logs, potentially covering tracks after exploitation. The module is operational and provides real attack capabilities, but does not provide a shell or arbitrary code execution. The exploit is highly fingerprintable by its use of the Dahua DVR management protocol on port 37777. The code is well-structured, with clear separation of actions and reporting of discovered credentials to the Metasploit database.Framework: metasploit · ruby · networkWeaponized
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Dahua SecurityDvr Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2013-6117 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2013-6117 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2013-6117?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2013-6117, the earliest disclosed Jun 4, 2026.
Is there a patch for CVE-2013-6117?
Upgrade Dahua DVR devices to a firmware version that addresses CVE-2013-6117. If a patch is not available, consider replacing the device with a supported model.
What products are affected by CVE-2013-6117?
Dahua Security Dvr Firmware.
How severe is CVE-2013-6117?
CVE-2013-6117 has a CVSS v2 score of 7.5 (High) and an EPSS score of 70.2% (99th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

No public activity tracked yet. Mallory keeps watching.

View more in app →

No public activity observed for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.