PT-2023-23352 · Gl.Inet · Gl.Inet

Published

2023-05-11

·

Updated

2023-05-22

·

CVE-2023-31473

CVSS v3.1

4.9

Medium

VectorAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions GL.iNet devices versions prior to 3.216
Description An issue was discovered that allows for arbitrary file write, where an empty file can be created anywhere on the filesystem. This is caused by a command injection vulnerability with a filter applied, allowing an attacker to inject arbitrary parameters through the software installation feature. This can cause opkg to read an arbitrary file name while using root privileges, potentially using the -f option with a configuration file.
Recommendations For versions prior to 3.216, update to version 3.216 or later to resolve the issue. As a temporary workaround, consider restricting the use of the software installation feature to minimize the risk of exploitation. Avoid using the opkg command with the -f option and a configuration file until the issue is resolved.

Exploit

Fix

Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-31473

Affected Products

Gl.Inet