CVE-2025-34054 AVTECH IP camera, DVR, and NVR Devices Unauthenticated Command Injection
Unauthenticated attackers can execute arbitrary shell commands as root on AVTECH DVR devices via the Search.cgi endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34054?
CVE-2025-34054 is a critical command injection vulnerability in AVTECH IP camera, DVR, and NVR Devices, published on 1 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An unauthenticated command injection vulnerability exists in AVTECH DVR devices via Search.cgi?action=cgi_query. The use of wget without input sanitization allows attackers to inject shell commands through the username or queryb64str parameters, executing commands as root. Exploitation evidence was observed by the Shadowserver Foundation on 2025-01-04 UTC.
Weakness: CWE-78
Which versions are affected by CVE-2025-34054?
How do I fix CVE-2025-34054?
No fix has been published for CVE-2025-34054 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-34054 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34054 exists.
Sources
Also known as GHSA-5r56-hjhv-6gr3.