CVE-2023-31473: Command Injection

Published May 11, 2023
·
Updated

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. Through the software installation feature, it is possible to inject arbitrary parameters in a request to cause opkg to read an arbitrary file name while using root privileges. The -f option can be used with a configuration file.

Affected Software

128 affected components
All of the following
gl-inet Gl-s20 Firmware<3.216
gl-inet Gl-s20
All of the following
gl-inet Gl-x3000 Firmware<3.216
gl-inet Gl-x3000
All of the following
gl-inet Gl-mt3000 Firmware<3.216
gl-inet Gl-mt3000
All of the following
gl-inet Gl-mt2500 Firmware<3.216
gl-inet Gl-mt2500
All of the following
gl-inet Gl-mt2500a Firmware<3.216
gl-inet Gl-mt2500a
All of the following
gl-inet Gl-axt1800 Firmware<3.216
gl-inet GL-AXT1800
All of the following
gl-inet Gl-a1300 Firmware<3.216
gl-inet Gl-a1300
All of the following
gl-inet Gl-ax1800 Firmware<3.216
gl-inet GL-AX1800
All of the following
gl-inet Gl-sft1200 Firmware<3.216
gl-inet Gl-sft1200
All of the following
gl-inet Gl-mt1300 Firmware<3.216
gl-inet Gl-mt1300
All of the following
gl-inet Gl-e750 Firmware<3.216
gl-inet Gl-e750
All of the following
gl-inet Gl-mv1000 Firmware<3.216
gl-inet Gl-mv1000
All of the following
gl-inet Gl-mv1000w Firmware<3.216
gl-inet Gl-mv1000w
All of the following
gl-inet Gl-s10 Firmware<3.216
gl-inet Gl-s10
All of the following
gl-inet Gl-s200 Firmware<3.216
gl-inet Gl-s200
All of the following
gl-inet Gl-s1300 Firmware<3.216
gl-inet Gl-s1300
All of the following
gl-inet Gl-sf1200 Firmware<3.216
gl-inet Gl-sf1200
All of the following
gl-inet Gl-b1300 Firmware<3.216
gl-inet Gl-b1300
All of the following
gl-inet Gl-b2200 Firmware<3.216
gl-inet Gl-b2200
All of the following
gl-inet Gl-ap1300 Firmware<3.216
gl-inet Gl-ap1300
All of the following
gl-inet Gl-ap1300lte Firmware<3.216
gl-inet Gl-ap1300lte
All of the following
gl-inet Gl-x1200 Firmware<3.216
gl-inet Gl-x1200
All of the following
gl-inet Gl-x750 Firmware<3.216
gl-inet Gl-x750
All of the following
gl-inet Gl-x300b Firmware<3.216
gl-inet Gl-x300b
All of the following
gl-inet Gl-xe300 Firmware<3.216
gl-inet Gl-xe300
All of the following
gl-inet Gl-ar750s Firmware<3.216
gl-inet Gl-ar750s
All of the following
gl-inet Gl-ar750 Firmware<3.216
gl-inet Gl-ar750
All of the following
gl-inet Gl-mifi Firmware<3.216
gl-inet Gl-mifi
All of the following
gl-inet Gl-mt300n-v2 Firmware<3.216
gl-inet GL-MT300N-V2
All of the following
gl-inet Gl-ar300m Firmware<3.216
gl-inet Gl-ar300m
All of the following
gl-inet Gl-usb150 Firmware<3.216
gl-inet Gl-usb150
All of the following
gl-inet Microuter-n300 Firmware<3.216
gl-inet Microuter-n300
gl-inet Gl-s20 Firmware<3.216
gl-inet Gl-s20
gl-inet Gl-x3000 Firmware<3.216
gl-inet Gl-x3000
gl-inet Gl-mt3000 Firmware<3.216
gl-inet Gl-mt3000
gl-inet Gl-mt2500 Firmware<3.216
gl-inet Gl-mt2500
gl-inet Gl-mt2500a Firmware<3.216
gl-inet Gl-mt2500a
gl-inet Gl-axt1800 Firmware<3.216
gl-inet GL-AXT1800
gl-inet Gl-a1300 Firmware<3.216
gl-inet Gl-a1300
gl-inet Gl-ax1800 Firmware<3.216
gl-inet GL-AX1800
gl-inet Gl-sft1200 Firmware<3.216
gl-inet Gl-sft1200
gl-inet Gl-mt1300 Firmware<3.216
gl-inet Gl-mt1300
gl-inet Gl-e750 Firmware<3.216
gl-inet Gl-e750
gl-inet Gl-mv1000 Firmware<3.216
gl-inet Gl-mv1000
gl-inet Gl-mv1000w Firmware<3.216
gl-inet Gl-mv1000w
gl-inet Gl-s10 Firmware<3.216
gl-inet Gl-s10
gl-inet Gl-s200 Firmware<3.216
gl-inet Gl-s200
gl-inet Gl-s1300 Firmware<3.216
gl-inet Gl-s1300
gl-inet Gl-sf1200 Firmware<3.216
gl-inet Gl-sf1200
gl-inet Gl-b1300 Firmware<3.216
gl-inet Gl-b1300
gl-inet Gl-b2200 Firmware<3.216
gl-inet Gl-b2200
gl-inet Gl-ap1300 Firmware<3.216
gl-inet Gl-ap1300
gl-inet Gl-ap1300lte Firmware<3.216
gl-inet Gl-ap1300lte
gl-inet Gl-x1200 Firmware<3.216
gl-inet Gl-x1200
gl-inet Gl-x750 Firmware<3.216
gl-inet Gl-x750
gl-inet Gl-x300b Firmware<3.216
gl-inet Gl-x300b
gl-inet Gl-xe300 Firmware<3.216
gl-inet Gl-xe300
gl-inet Gl-ar750s Firmware<3.216
gl-inet Gl-ar750s
gl-inet Gl-ar750 Firmware<3.216
gl-inet Gl-ar750
gl-inet Gl-mifi Firmware<3.216
gl-inet Gl-mifi
gl-inet Gl-mt300n-v2 Firmware<3.216
gl-inet GL-MT300N-V2
gl-inet Gl-ar300m Firmware<3.216
gl-inet Gl-ar300m
gl-inet Gl-usb150 Firmware<3.216
gl-inet Gl-usb150
gl-inet Microuter-n300 Firmware<3.216
gl-inet Microuter-n300

Event History

May 11, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-31473?

The severity of CVE-2023-31473 is high due to its potential impact in allowing arbitrary file write.

2

How do I fix CVE-2023-31473?

To fix CVE-2023-31473, you should update the GL.iNet device firmware to version 3.216 or later.

3

What devices are affected by CVE-2023-31473?

CVE-2023-31473 affects various GL.iNet devices running firmware versions prior to 3.216.

4

Is there a workaround for CVE-2023-31473?

Currently, there are no officially recommended workarounds for CVE-2023-31473 apart from updating the firmware.

5

What is the nature of the vulnerability in CVE-2023-31473?

CVE-2023-31473 is a command injection vulnerability that can lead to arbitrary file write on affected GL.iNet devices.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203