CVE-2024-51300 Command injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary commands on Draytek Vigor3900 routers via the get_rrd function in mainfunction.cgi.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-51300?

CVE-2024-51300 is a high-severity command injection vulnerability in n/a, published on 30 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the get_rrd function.

Weakness: CWE-77

Which versions are affected by CVE-2024-51300?

It affects 1 product.

Products include Draytek Vigor3900 Firmware.

How do I fix CVE-2024-51300?

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

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

Sources

Also known as GHSA-vpwg-6766-6xgp.

Is CVE-2024-51300 in your software?

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

Check your SBOMs for free