{"id":"CVE-2023-31473","aliases":["EUVD-2023-35778","GHSA-52cq-m3mg-849p"],"status":"published","title":"An issue was discovered on GL.iNet devices before 3.216. There is an arbitrary file write in...","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.","severity":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03869,"percentile":0.90265,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77"],"published":"2023-05-11T00:00:00Z","modified":"2026-06-17T05:57:03Z","products":[{"vendor":"gl-inet","product":"gl-a1300_firmware"},{"vendor":"gl-inet","product":"gl-ap1300_firmware"},{"vendor":"gl-inet","product":"gl-ap1300lte_firmware"},{"vendor":"gl-inet","product":"gl-ar300m_firmware"},{"vendor":"gl-inet","product":"gl-ar750_firmware"},{"vendor":"gl-inet","product":"gl-ar750s_firmware"},{"vendor":"gl-inet","product":"gl-ax1800_firmware"},{"vendor":"gl-inet","product":"gl-axt1800_firmware"},{"vendor":"gl-inet","product":"gl-b1300_firmware"},{"vendor":"gl-inet","product":"gl-b2200_firmware"},{"vendor":"gl-inet","product":"gl-e750_firmware"},{"vendor":"gl-inet","product":"gl-mifi_firmware"},{"vendor":"gl-inet","product":"gl-mt1300_firmware"},{"vendor":"gl-inet","product":"gl-mt2500_firmware"},{"vendor":"gl-inet","product":"gl-mt2500a_firmware"},{"vendor":"gl-inet","product":"gl-mt3000_firmware"},{"vendor":"gl-inet","product":"gl-mt300n-v2_firmware"},{"vendor":"gl-inet","product":"gl-mv1000_firmware"},{"vendor":"gl-inet","product":"gl-mv1000w_firmware"},{"vendor":"gl-inet","product":"gl-s10_firmware"},{"vendor":"gl-inet","product":"gl-s1300_firmware"},{"vendor":"gl-inet","product":"gl-s200_firmware"},{"vendor":"gl-inet","product":"gl-s20_firmware"},{"vendor":"gl-inet","product":"gl-sf1200_firmware"},{"vendor":"gl-inet","product":"gl-sft1200_firmware"},{"vendor":"gl-inet","product":"gl-usb150_firmware"},{"vendor":"gl-inet","product":"gl-x1200_firmware"},{"vendor":"gl-inet","product":"gl-x3000_firmware"},{"vendor":"gl-inet","product":"gl-x300b_firmware"},{"vendor":"gl-inet","product":"gl-x750_firmware"},{"vendor":"gl-inet","product":"gl-xe300_firmware"},{"vendor":"gl-inet","product":"microuter-n300_firmware"}],"references":[{"url":"https://www.gl-inet.com","tags":["x_transferred","Vendor Advisory"]},{"url":"https://github.com/gl-inet/CVE-issues/blob/main/3.215/Arbitrary_File_Read.md","tags":["x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31473"},{"url":"https://github.com/advisories/GHSA-52cq-m3mg-849p"}],"sources":{"cve":[{"id":"CVE-2023-31473","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.","status":"published","published":"2023-05-11T00:00:00Z","modified":"2025-01-27T17:18:23.785Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:35:27.810438Z"}],"euvd":[{"id":"EUVD-2023-35778","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.","status":"published","published":"2023-05-11T00:00:00Z","modified":"2025-01-27T17:18:23Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T00:04:12.665174Z"}],"ghsa":[{"id":"GHSA-52cq-m3mg-849p","title":"An issue was discovered on GL.iNet devices before 3.216. There is an arbitrary file write in...","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.","status":"published","published":"2023-05-11T12:30:14Z","modified":"2024-04-04T04:02:11Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:56:20.636792Z"}],"nvd":[{"id":"CVE-2023-31473","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.","status":"published","published":"2023-05-11T11:15:09.1Z","modified":"2026-06-17T05:57:03.333Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:08:02.399327Z"}]}}
