CVE-2025-34042 Beward N100 IP Camera Remote Command Execution

Critical 9.4 Published Updated

Authenticated attackers can inject system commands via web interface parameters to achieve remote code execution with root privileges on Beward N100 IP Cameras.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-34042?

CVE-2025-34042 is a critical command injection vulnerability in Beward N100 IP Camera, published on 26 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An authenticated command injection vulnerability exists in the Beward N100 IP Camera firmware version M2.1.6.04C014 via the ServerName and TimeZone parameters in the servetest CGI page. An attacker with access to the web interface can inject arbitrary system commands into these parameters, which are unsafely embedded into backend system calls without proper input sanitization. Successful exploitation results in remote code execution with root privileges. Exploitation evidence was observed by the Shadowserver Foundation on 2024-12-02 UTC.

Weakness: CWE-78

Which versions are affected by CVE-2025-34042?

How do I fix CVE-2025-34042?

No fix has been published for CVE-2025-34042 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-34042 being exploited?

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

Sources

Also known as GHSA-8749-75mj-7339.

Is CVE-2025-34042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free