CVE-2023-31742 Command injection in n/a
An attacker with web management access can inject commands into specific HTTP parameters to gain shell privileges on the router.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-31742?
CVE-2023-31742 is a high-severity command injection vulnerability in n/a, published on 22 May 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
There is a command injection vulnerability in the Linksys WRT54GL router with firmware version 4.30.18.006. If an attacker gains web management privileges, they can inject commands into the post request parameters wl_ant, wl_rate, WL_atten_ctl, ttcp_num, ttcp_size in the httpd s Start_EPI() function, thereby gaining shell privileges.
Weakness: CWE-77
Which versions are affected by CVE-2023-31742?
It affects 1 product.
Products include Linksys Wrt54gl Firmware.
How do I fix CVE-2023-31742?
No fix has been published for CVE-2023-31742 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-2023-31742 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31742 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in n/a
- CVE-2022-43970 Buffer overflow in Linksys WRT54GL
- CVE-2022-43973 Arbitrary code execution in Linksys WRT54GL
- CVE-2022-43972 Null pointer dereference in Linksys WRT54GL
- CVE-2024-1405 Linksys WRT54GL Web Management Interface wlaninfo.htm information disclosure
- CVE-2024-1406 Linksys WRT54GL Web Management Interface SysInfo1.htm information disclosure
Sources
Also known as GHSA-x33h-89gf-vgxq.