# CVE-2013-5754: Auth bypass in n/a

> Remote attackers can bypass authentication on Dahua DVRs using a date-based hash to gain administrative access and change passwords.

- **Severity:** Critical 10.0 (`AV:N/AC:L/Au:N/C:C/I:C/A:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 17 Sep 2013
- **Updated:** 16 Sep 2024
- **Also known as:** GHSA-hprw-r36q-86cc

## What is CVE-2013-5754?

CVE-2013-5754 is a critical authentication bypass vulnerability in n/a, published on 17 Sep 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The authorization implementation on Dahua DVR appliances accepts a hash string representing the current date for the role of a master password, which makes it easier for remote attackers to obtain administrative access and change the administrator password via requests involving (1) ActiveX, (2) a standalone client, or (3) unspecified other vectors, a different vulnerability than CVE-2013-3612.

Weakness: CWE-264

## Which versions are affected by CVE-2013-5754?

It affects 65 products.


Products: Dahuasecurity Dvr0404hd-A, Dahuasecurity Dvr0404hd-L, Dahuasecurity Dvr0404hd-S, Dahuasecurity Dvr0404hd-U, Dahuasecurity Dvr0404hf-a-E, Dahuasecurity Dvr0404hf-Al-E, Dahuasecurity Dvr0404hf-S-E, Dahuasecurity Dvr0404hf-U-E, Dahuasecurity Dvr0804, Dahuasecurity Dvr0804hd-L, Dahuasecurity Dvr0804hd-S, Dahuasecurity Dvr0804hf-a-E, Dahuasecurity Dvr0804hf-Al-E, Dahuasecurity Dvr0804hf-L-E, Dahuasecurity Dvr0804hf-S-E, Dahuasecurity Dvr0804hf-U-E, Dahuasecurity Dvr1604hd-L, Dahuasecurity Dvr1604hd-S, Dahuasecurity Dvr1604hf-a-E, Dahuasecurity Dvr1604hf-Al-E and 45 more.

## How do I fix CVE-2013-5754?

No fix has been published for CVE-2013-5754 yet. Limit exposure of the affected software until one is available.

## Is CVE-2013-5754 being exploited?

There is no known exploitation of CVE-2013-5754 in the wild and no public exploit code.

## Other vulnerabilities in n/a

- [CVE-2013-3612](https://insights.sbomify.com/CVE-2013-3612/): Hardcoded credentials in n/a (critical 10.0)
- [CVE-2013-3614](https://insights.sbomify.com/CVE-2013-3614/): Weak cryptography in n/a (critical 9.3)
- [CVE-2013-3613](https://insights.sbomify.com/CVE-2013-3613/): Auth bypass in n/a (high 7.8)
- [CVE-2013-3615](https://insights.sbomify.com/CVE-2013-3615/): Weak cryptography in n/a (high 7.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2013-5754 and fix it if it is affected.

What it is: CVE-2013-5754 is a critical authentication bypass vulnerability in n/a, published on 17 Sep 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2013-5754 in the wild and no public exploit code.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2013-5754/ (Markdown: https://insights.sbomify.com/CVE-2013-5754/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2013-5754
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2013-5754
- OSV: https://osv.dev/vulnerability/CVE-2013-5754

---
From sbomify Insights: https://insights.sbomify.com/CVE-2013-5754/
Summaries are generated and may contain mistakes; the official description above is the record.
