# CVE-2019-3948: Missing authorization in Dahua DH-IPC HX883X and DH-IPC-HX863X

> Unauthenticated remote attackers can access the /videotalk endpoint to listen to audio from affected Dahua and Amcrest IP cameras and NVRs.

- **Severity:** High 7.5 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 29 Jul 2019
- **Updated:** 4 Aug 2024
- **Also known as:** GHSA-f9fm-89ph-x8pr

## What is CVE-2019-3948?

CVE-2019-3948 is a high-severity missing authorization vulnerability in Dahua DH-IPC HX883X and DH-IPC-HX863X, published on 29 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The Amcrest IP2M-841B V2.520.AC00.18.R, Dahua IPC-XXBXX V2.622.0000000.9.R, Dahua IPC HX5X3X and HX4X3X V2.800.0000008.0.R, Dahua DH-IPC HX883X and DH-IPC-HX863X V2.622.0000000.7.R, Dahua DH-SD4XXXXX V2.623.0000000.7.R, Dahua DH-SD5XXXXX V2.623.0000000.1.R, Dahua DH-SD6XXXXX V2.640.0000000.2.R and V2.623.0000000.1.R, Dahua NVR5XX-4KS2 V3.216.0000006.0.R, Dahua NVR4XXX-4KS2 V3.216.0000006.0.R, and NVR2XXX-4KS2 do not require authentication to access the HTTP endpoint /videotalk. An unauthenticated, remote person can connect to this endpoint and potentionally listen to the audio of the capturing device.

Weakness: CWE-306 (Missing Authentication for Critical Functionality)

## Which versions are affected by CVE-2019-3948?

It affects 12 products.


Products: Amcrest Ip2m-841b Firmware, Dahua Dh-Ipc-Hx863x, Dahua Dh-Ipc-Hx883x, Dahua Dh-Sd4xxxxx, Dahua Dh-Sd5xxxxx, Dahua Dh-Sd6xxxxx, Dahua Ipc-Hx4x3x, Dahua Ipc-Hx5x3x, Dahua Ipc-Xxbxx, Dahua Nvr2xxx-4ks2, Dahua Nvr4xxx-4ks2, Dahua Nvr5xxx-4ks2.

## How do I fix CVE-2019-3948?

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

## Is CVE-2019-3948 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-3948 exists.

Public exploit code:

- Amcrest Cameras 2.520.AC00.18.R - Unauthenticated Audio Streaming (exploitdb)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-3948 and fix it if it is affected.

What it is: CVE-2019-3948 is a high-severity missing authorization vulnerability in Dahua DH-IPC HX883X and DH-IPC-HX863X, published on 29 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-3948 exists.

Affected product: Dahua DH-IPC HX883X and DH-IPC-HX863X. 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-2019-3948/ (Markdown: https://insights.sbomify.com/CVE-2019-3948/index.md)
```

## Sources

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

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