CVE-2021-42071 Command injection in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary commands on Visual Tools DVR devices by injecting shell metacharacters into the User-Agent header.

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-2021-42071?

CVE-2021-42071 is a critical command injection vulnerability in n/a, published on 7 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Visual Tools DVR VX16 4.2.28.0, an unauthenticated attacker can achieve remote command execution via shell metacharacters in the cgi-bin/slogin/login.py User-Agent HTTP header.

Weakness: CWE-78

Which versions are affected by CVE-2021-42071?

It affects 1 product.

Products include Visual-Tools Dvr Vx16 Firmware.

How do I fix CVE-2021-42071?

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

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

Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.

Sources

Also known as GHSA-5pjx-33j8-9h49.

Is CVE-2021-42071 in your software?

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

Check your SBOMs for free