CVE-2023-31472 Command injection in n/a

High 7.5 Published Updated

Attackers can exploit a command injection flaw to create arbitrary files on GL.iNet routers, potentially leading to code execution or data modification.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-31472?

CVE-2023-31472 is a high-severity command injection vulnerability in n/a, published on 9 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered on GL.iNet devices before 3.216. There is an arbitrary file write in which an empty file can be created anywhere on the filesystem. This is caused by a command injection vulnerability with a filter applied.

Weakness: CWE-770

Which versions are affected by CVE-2023-31472?

It affects 32 products.

Products include Gl-Inet Gl-A1300 Firmware, Gl-Inet Gl-Ap1300 Firmware, Gl-Inet Gl-Ap1300lte Firmware, Gl-Inet Gl-Ar300m Firmware, Gl-Inet Gl-Ar750 Firmware, Gl-Inet Gl-Ar750s Firmware and 26 more.

How do I fix CVE-2023-31472?

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

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

Sources

Also known as CVE-2023-33624, GHSA-2j86-h6vf-9889.

Is CVE-2023-31472 in your software?

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

Check your SBOMs for free