CVE-2024-46316 Command injection in n/a

High 8.0 Published Updated

Attackers can execute arbitrary commands on DrayTek Vigor3900 routers via crafted HTTP requests to the mainfunction.cgi endpoint.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-46316?

CVE-2024-46316 is a high-severity command injection vulnerability in n/a, published on 9 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

DrayTek Vigor3900 v1.5.1.6 was discovered to contain a command injection vulnerability via the sub_2C920 function at /cgi-bin/mainfunction.cgi. This vulnerability allows attackers to execute arbitrary commands via supplying a crafted HTTP message.

Weakness: CWE-78

Which versions are affected by CVE-2024-46316?

It affects 1 product.

Products include Draytek Vigor3900 Firmware.

How do I fix CVE-2024-46316?

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

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

Sources

Also known as GHSA-3hhh-46fw-chvg.

Is CVE-2024-46316 in your software?

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

Check your SBOMs for free