CVE-2023-31473

Exp

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.

Published: 2023-05-11 Last update: 2025-01-27 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-31473 is rated High Exploit Risk (67/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 3.87%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.33% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2023-31473

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2023-31473

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 2.54% 3.87% +1.33%
2 2026-05-23 1.85% 2.54% +0.69%
3 2026-05-12 1.85%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-31473

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.9 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.2 3.6 [email protected]
4.9 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.2 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2023-31473

Affected software / configurations for CVE-2023-31473

Vendor Product Version Raw CPE
gl-inet gl-s20_firmware < 3.216 cpe:2.3:o:gl-inet:gl-s20_firmware:*:*:*:*:*:*:*:*
gl-inet gl-x3000_firmware < 3.216 cpe:2.3:o:gl-inet:gl-x3000_firmware:*:*:*:*:*:*:*:*
gl-inet gl-mt3000_firmware < 3.216 cpe:2.3:o:gl-inet:gl-mt3000_firmware:*:*:*:*:*:*:*:*
gl-inet gl-mt2500_firmware < 3.216 cpe:2.3:o:gl-inet:gl-mt2500_firmware:*:*:*:*:*:*:*:*
gl-inet gl-mt2500a_firmware < 3.216 cpe:2.3:o:gl-inet:gl-mt2500a_firmware:*:*:*:*:*:*:*:*
gl-inet gl-axt1800_firmware < 3.216 cpe:2.3:o:gl-inet:gl-axt1800_firmware:*:*:*:*:*:*:*:*
gl-inet gl-a1300_firmware < 3.216 cpe:2.3:o:gl-inet:gl-a1300_firmware:*:*:*:*:*:*:*:*
gl-inet gl-ax1800_firmware < 3.216 cpe:2.3:o:gl-inet:gl-ax1800_firmware:*:*:*:*:*:*:*:*
gl-inet gl-sft1200_firmware < 3.216 cpe:2.3:o:gl-inet:gl-sft1200_firmware:*:*:*:*:*:*:*:*
gl-inet gl-mt1300_firmware < 3.216 cpe:2.3:o:gl-inet:gl-mt1300_firmware:*:*:*:*:*:*:*:*
gl-inet gl-e750_firmware < 3.216 cpe:2.3:o:gl-inet:gl-e750_firmware:*:*:*:*:*:*:*:*
gl-inet gl-mv1000_firmware < 3.216 cpe:2.3:o:gl-inet:gl-mv1000_firmware:*:*:*:*:*:*:*:*
gl-inet gl-mv1000w_firmware < 3.216 cpe:2.3:o:gl-inet:gl-mv1000w_firmware:*:*:*:*:*:*:*:*
gl-inet gl-s10_firmware < 3.216 cpe:2.3:o:gl-inet:gl-s10_firmware:*:*:*:*:*:*:*:*
gl-inet gl-s200_firmware < 3.216 cpe:2.3:o:gl-inet:gl-s200_firmware:*:*:*:*:*:*:*:*
gl-inet gl-s1300_firmware < 3.216 cpe:2.3:o:gl-inet:gl-s1300_firmware:*:*:*:*:*:*:*:*
gl-inet gl-sf1200_firmware < 3.216 cpe:2.3:o:gl-inet:gl-sf1200_firmware:*:*:*:*:*:*:*:*
gl-inet gl-b1300_firmware < 3.216 cpe:2.3:o:gl-inet:gl-b1300_firmware:*:*:*:*:*:*:*:*
gl-inet gl-b2200_firmware < 3.216 cpe:2.3:o:gl-inet:gl-b2200_firmware:*:*:*:*:*:*:*:*
gl-inet gl-ap1300_firmware < 3.216 cpe:2.3:o:gl-inet:gl-ap1300_firmware:*:*:*:*:*:*:*:*
gl-inet gl-ap1300lte_firmware < 3.216 cpe:2.3:o:gl-inet:gl-ap1300lte_firmware:*:*:*:*:*:*:*:*
gl-inet gl-x1200_firmware < 3.216 cpe:2.3:o:gl-inet:gl-x1200_firmware:*:*:*:*:*:*:*:*
gl-inet gl-x750_firmware < 3.216 cpe:2.3:o:gl-inet:gl-x750_firmware:*:*:*:*:*:*:*:*
gl-inet gl-x300b_firmware < 3.216 cpe:2.3:o:gl-inet:gl-x300b_firmware:*:*:*:*:*:*:*:*
gl-inet gl-xe300_firmware < 3.216 cpe:2.3:o:gl-inet:gl-xe300_firmware:*:*:*:*:*:*:*:*
gl-inet gl-ar750s_firmware < 3.216 cpe:2.3:o:gl-inet:gl-ar750s_firmware:*:*:*:*:*:*:*:*
gl-inet gl-ar750_firmware < 3.216 cpe:2.3:o:gl-inet:gl-ar750_firmware:*:*:*:*:*:*:*:*
gl-inet gl-mifi_firmware < 3.216 cpe:2.3:o:gl-inet:gl-mifi_firmware:*:*:*:*:*:*:*:*
gl-inet gl-mt300n-v2_firmware < 3.216 cpe:2.3:o:gl-inet:gl-mt300n-v2_firmware:*:*:*:*:*:*:*:*
gl-inet gl-ar300m_firmware < 3.216 cpe:2.3:o:gl-inet:gl-ar300m_firmware:*:*:*:*:*:*:*:*
gl-inet gl-usb150_firmware < 3.216 cpe:2.3:o:gl-inet:gl-usb150_firmware:*:*:*:*:*:*:*:*
gl-inet microuter-n300_firmware < 3.216 cpe:2.3:o:gl-inet:microuter-n300_firmware:*:*:*:*:*:*:*:*

References for CVE-2023-31473

cvelogic Threat Intelligence