CVE-2023-31742 Command injection in n/a

High 7.2 Published Updated

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.

Sources

Also known as GHSA-x33h-89gf-vgxq.

Is CVE-2023-31742 in your software?

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

Check your SBOMs for free