CVE-2024-43027 Command injection in n/a

High 8.0 Published Updated

Attackers can execute arbitrary commands on DrayTek routers via the action parameter in mainfunction.cgi, requiring a firmware upgrade.

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-43027?

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

Official description

DrayTek Vigor 3900 before v1.5.1.5_Beta, DrayTek Vigor 2960 before v1.5.1.5_Beta and DrayTek Vigor 300B before v1.5.1.5_Beta were discovered to contain a command injection vulnerability via the action parameter at cgi-bin/mainfunction.cgi.

Weakness: CWE-77

Which versions are affected by CVE-2024-43027?

It affects 3 products.

Products include Draytek Vigor2960 Firmware, Draytek Vigor300b Firmware, Draytek Vigor3900 Firmware.

How do I fix CVE-2024-43027?

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

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

Sources

Also known as GHSA-g6mg-qmxh-mv93.

Is CVE-2024-43027 in your software?

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

Check your SBOMs for free