CVE-2023-31473
CVE-2023-31473 is a medium-severity vulnerability in Gl-inet Gl-s20 Firmware with a CVSS 3.x base score of 4.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.
Key facts
- Severity: Medium (CVSS 3.x base score 4.9)
- EPSS exploit prediction: 4% (89th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-77
- Affected product: Gl-inet Gl-s20 Firmware
- Published:
- Last modified:
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. 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.
Frequently asked questions
- What is CVE-2023-31473?
- 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.
- How severe is CVE-2023-31473?
- CVE-2023-31473 has a CVSS 3.x base score of 4.9, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2023-31473 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (89th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-31473?
- CVE-2023-31473 primarily affects Gl-inet Gl-s20 Firmware. In total, 32 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-31473?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-31473 published?
- CVE-2023-31473 was published on 2023-05-11 and last updated on 2026-06-17.
References
Affected products (32)
- cpe:2.3:o:gl-inet:gl-s20_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-x3000_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-mt3000_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-mt2500_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-mt2500a_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-axt1800_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-a1300_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-ax1800_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-sft1200_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-mt1300_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-e750_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-mv1000_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-mv1000w_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-s10_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-s200_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-s1300_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-sf1200_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-b1300_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-b2200_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-ap1300_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-ap1300lte_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-x1200_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-x750_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-x300b_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-xe300_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-ar750s_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-ar750_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-mifi_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-mt300n-v2_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-ar300m_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:gl-usb150_firmware:*:*:*:*:*:*:*:*
- cpe:2.3:o:gl-inet:microuter-n300_firmware:*:*:*:*:*:*:*:*
More vulnerabilities in Gl-inet Gl-s20 Firmware
- CVE-2023-31475 — Critical (CVSS 9.8): An issue was discovered on GL.iNet devices before 3.216. The function guci2_get() found in libglutil.so has a buffer…
- CVE-2023-31471 — Critical (CVSS 9.8): An issue was discovered on GL.iNet devices before 3.216. Through the software installation feature, it is possible to…
- CVE-2023-31477 — High (CVSS 7.5): A path traversal issue was discovered on GL.iNet devices before 3.216. Through the file sharing feature, it is possible…
- CVE-2023-31478 — High (CVSS 7.5): An issue was discovered on GL.iNet devices before 3.216. An API endpoint reveals information about the Wi-Fi…
- CVE-2023-31474 — High (CVSS 7.5): An issue was discovered on GL.iNet devices before 3.216. Through the software installation feature, it is possible to…
- CVE-2023-31472 — High (CVSS 7.5): An issue was discovered on GL.iNet devices before 3.216. There is an arbitrary file write in which an empty file can be…
All CVEs affecting Gl-inet Gl-s20 Firmware →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…