CVE-2023-31476 Path traversal in n/a
Attackers can create arbitrary empty files on GL.iNet router filesystems via path traversal, potentially disrupting system operations.
- 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-31476?
CVE-2023-31476 is a high-severity path traversal 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 running firmware before 3.216. There is an arbitrary file write in which an empty file can be created almost anywhere on the filesystem, as long as the filename and path is no more than 6 characters (the working directory is /www).
Weakness: CWE-77
Which versions are affected by CVE-2023-31476?
It affects 2 products.
Products include Gl-Inet Gl-Mv1000 Firmware, Gl-Inet Gl-Mv1000w Firmware.
How do I fix CVE-2023-31476?
No fix has been published for CVE-2023-31476 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-31476 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31476 exists.
Sources
Also known as GHSA-wxvm-h7p9-98qp.