# CVE-2022-30564: Missing authorization in IPC-HX5XXX,IPC-HX7XXX,SD5A,SD22,SD59,NVR5XXX-I,NVR5XXX-I/L,NVR4XXX-I,NVR2XXX-I,XVRXXXX-I2,XVRXXXX-X

> An attacker can modify the system time of Dahua embedded devices by sending a specially crafted packet to a vulnerable interface.

- **Severity:** Medium 5.3 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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:** 9 Feb 2023
- **Updated:** 25 Mar 2025
- **Also known as:** GHSA-4qcf-7phg-fpvq

## What is CVE-2022-30564?

CVE-2022-30564 is a medium-severity missing authorization vulnerability in IPC-HX5XXX,IPC-HX7XXX,SD5A,SD22,SD59,NVR5XXX-I,NVR5XXX-I/L,NVR4XXX-I,NVR2XXX-I,XVRXXXX-I2,XVRXXXX-X, published on 9 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Some Dahua embedded products have a vulnerability of unauthorized modification of the device timestamp. By sending a specially crafted packet to the vulnerable interface, an attacker can modify the device system time.

Weakness: CWE-284 (Improper Access Control)

## Which versions are affected by CVE-2022-30564?

It affects 97 products.


Products: Dahuasecurity Ipc-Hf5241f-Ze Firmware, Dahuasecurity Ipc-Hf5442f-Ze Firmware, Dahuasecurity Ipc-Hf5541f-Ze Firmware, Dahuasecurity Ipc-Hf5842f-Ze Firmware, Dahuasecurity Ipc-Hf71242f-Z-X Firmware, Dahuasecurity Ipc-Hf7442f-Z-X Firmware, Dahuasecurity Ipc-Hf7842f-Z-X Firmware, Dahuasecurity Nvr2104-I Firmware, Dahuasecurity Nvr2104hs-I Firmware, Dahuasecurity Nvr2108-I Firmware, Dahuasecurity Nvr2108hs-I Firmware, Dahuasecurity Nvr2116-I Firmware, Dahuasecurity Nvr2116hs-I Firmware, Dahuasecurity Nvr2204-I Firmware, Dahuasecurity Nvr2208-I Firmware, Dahuasecurity Nvr2216-I Firmware, Dahuasecurity Nvr4216-I Firmware, Dahuasecurity Nvr4416-16p-4ks2\/I Firmware, Dahuasecurity Nvr4416-4ks2\/I Firmware, Dahuasecurity Nvr4432-16p-4ks2\/I Firmware and 77 more.

## How do I fix CVE-2022-30564?

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

## Is CVE-2022-30564 being exploited?

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

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-30564 and fix it if it is affected.

What it is: CVE-2022-30564 is a medium-severity missing authorization vulnerability in IPC-HX5XXX,IPC-HX7XXX,SD5A,SD22,SD59,NVR5XXX-I,NVR5XXX-I/L,NVR4XXX-I,NVR2XXX-I,XVRXXXX-I2,XVRXXXX-X, published on 9 Feb 2023. 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-2022-30564 in the wild and no public exploit code.

Affected product: IPC-HX5XXX,IPC-HX7XXX,SD5A,SD22,SD59,NVR5XXX-I,NVR5XXX-I/L,NVR4XXX-I,NVR2XXX-I,XVRXXXX-I2,XVRXXXX-X. 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-2022-30564/ (Markdown: https://insights.sbomify.com/CVE-2022-30564/index.md)
```

## Sources

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

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