CVE-2024-51245 Command injection in n/a
Attackers can execute arbitrary commands on DrayTek Vigor3900 routers via the rename_table function in mainfunction.cgi.
- 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-51245?
CVE-2024-51245 is a high-severity command injection vulnerability in n/a, published on 1 Nov 2024. It can only be exploited from the same machine or local 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 rename_table function.
Weakness: CWE-78
Which versions are affected by CVE-2024-51245?
It affects 1 product.
Products include Draytek Vigor3900 Firmware.
How do I fix CVE-2024-51245?
No fix has been published for CVE-2024-51245 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-51245 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51245 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-xfcf-4825-2xx2.