RCE in Gl-Inet Gl-A1300
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.039 (89.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.039 · newest: 0.039 · change: 0.000
Affected products
Weakness classification (CWE)
References
- www.gl-inet.com (Vendor Advisory)
- github.com/gl-inet/CVE-issues/blob/main/3.215/Arbitrary_File_Read.md (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2023-31473?
- CVE-2023-31473 is a medium-severity vulnerability in Gl-Inet Gl-A1300, classified under Command Injection. CVSS score: 4.9/10. Published 2023-05-11.
- How severe is CVE-2023-31473?
- Medium severity. CVSS v3 base score is 4.9 out of 10.