CVE-2009-5157 Command injection in n/a

High 8.8 Published Updated

Authenticated attackers can execute arbitrary commands on Linksys WAG54G2 routers via shell metacharacters in the ping IP address field.

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-2009-5157?

CVE-2009-5157 is a high-severity command injection vulnerability in n/a, published on 11 Jun 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

On Linksys WAG54G2 1.00.10 devices, there is authenticated command injection via shell metacharacters in the setup.cgi c4_ping_ipaddr variable.

Weakness: CWE-77

Which versions are affected by CVE-2009-5157?

It affects 1 product.

Products include Linksys Wag54g2 Firmware.

How do I fix CVE-2009-5157?

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

There is no known exploitation of CVE-2009-5157 in the wild and no public exploit code.

Sources

Also known as GHSA-9cgp-2w4g-2m78.

Is CVE-2009-5157 in your software?

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

Check your SBOMs for free