{"id":"CVE-2023-31473","sourceIdentifier":"cve@mitre.org","published":"2023-05-11T11:15:09.100","lastModified":"2026-06-17T05:57:03.333","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","baseScore":4.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.2,"impactScore":3.6},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","baseScore":4.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.2,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-01-27T17:18:19.394710Z","id":"CVE-2023-31473","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-77"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-77"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-s20_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"9B0A4356-5F36-40FB-918F-F46EBC31445C"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-s20:-:*:*:*:*:*:*:*","matchCriteriaId":"B3C5203D-A4A1-42DA-81BA-6701024E86C1"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-x3000_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"F6F88699-FE89-4E7C-85D3-B55568116CC1"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-x3000:-:*:*:*:*:*:*:*","matchCriteriaId":"4521F491-9472-4511-9EA6-A6E2E429E306"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-mt3000_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"AADA4620-98B7-4B68-9C0C-4C73685B0B3B"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-mt3000:-:*:*:*:*:*:*:*","matchCriteriaId":"4D832083-488B-40F2-8D7A-66E917DF67F9"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-mt2500_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"4BFC3E12-5AC4-4C3F-86E1-1F6522090F91"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-mt2500:-:*:*:*:*:*:*:*","matchCriteriaId":"88C600EF-AF68-45F0-B9C0-7ECA0D33179C"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-mt2500a_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"3301C89D-C179-4DBE-91BA-9834D8AB1574"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-mt2500a:-:*:*:*:*:*:*:*","matchCriteriaId":"7E7A9451-E593-4429-BF4C-0B03851C09B7"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-axt1800_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"5B79F7E4-7A5A-48EA-8B4F-1FF42681C9B0"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-axt1800:-:*:*:*:*:*:*:*","matchCriteriaId":"49448661-9D95-4218-B2FA-73610AA5523C"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-a1300_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"C60CE3B3-2DEB-4707-A4E8-40262BE9CC22"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-a1300:-:*:*:*:*:*:*:*","matchCriteriaId":"2365517B-F8AF-490D-9282-36679EB484D2"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-ax1800_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"FF71926B-3442-465A-8009-4CC49AF84065"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-ax1800:-:*:*:*:*:*:*:*","matchCriteriaId":"459CA3AD-7D9A-4E72-8847-9F989232CDCD"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-sft1200_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"25F4A1AA-E898-4220-9C29-892AA199EB3C"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-sft1200:-:*:*:*:*:*:*:*","matchCriteriaId":"AD353D31-AA76-4A03-AA33-B618A3E28E3A"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-mt1300_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"69DB6A57-60F5-4811-9371-E4FE40F6E6A0"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-mt1300:-:*:*:*:*:*:*:*","matchCriteriaId":"65A8D1C9-9EAE-4EDF-A1D4-D45E9EE65585"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-e750_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"1435C66B-38C7-4ECC-993D-F4EDD2853898"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-e750:-:*:*:*:*:*:*:*","matchCriteriaId":"B5C88C24-42C5-4512-83B5-F7DED1D70E86"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-mv1000_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"9F3A14CF-4A49-4D82-B665-C56D8D98E6AE"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-mv1000:-:*:*:*:*:*:*:*","matchCriteriaId":"64F0FB60-564D-492A-BF60-AEE3FDD33CEA"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-mv1000w_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"CA8C1CAE-1ABA-438E-AB60-0ECAD46DBFEA"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-mv1000w:-:*:*:*:*:*:*:*","matchCriteriaId":"E736B698-B40F-490C-A994-E3F89EBD764F"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-s10_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"3DF83156-A2BB-4081-A701-4AF613DBC2BB"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-s10:-:*:*:*:*:*:*:*","matchCriteriaId":"8B182C20-3D15-4753-9A96-BF9F7F778CE7"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-s200_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"13CCF94F-675C-42C9-9849-C214A66EDDDB"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-s200:-:*:*:*:*:*:*:*","matchCriteriaId":"54BAA0C6-0A44-4C67-9C9D-DC5D04434D04"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-s1300_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"8B689F84-726F-433B-8288-FC03B2018672"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-s1300:-:*:*:*:*:*:*:*","matchCriteriaId":"D6D5F40B-93A6-486F-8575-3DAAAC324B93"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-sf1200_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"01E0F8DB-0B4C-4EE9-AD20-1353D44C5163"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-sf1200:-:*:*:*:*:*:*:*","matchCriteriaId":"1E7DDA65-A3AE-4769-A6FF-3878ECA45DC1"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-b1300_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"59A98C79-93E2-4E90-B5C0-C64E11F13952"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-b1300:-:*:*:*:*:*:*:*","matchCriteriaId":"10D84ECB-35CB-42B0-B925-8B631C235CC2"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-b2200_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"2BE77DD2-EC55-432F-AEB5-7080CAEB2E8D"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-b2200:-:*:*:*:*:*:*:*","matchCriteriaId":"83560162-69E2-4E4C-8220-72455FAB45C3"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-ap1300_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"8F690433-A66B-4EF4-82A6-53DB7DAC28B1"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-ap1300:-:*:*:*:*:*:*:*","matchCriteriaId":"555437D1-E216-4A0B-812A-29683D662D4C"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-ap1300lte_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"84F959D3-DE3B-498B-920E-B3937E9722E9"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-ap1300lte:-:*:*:*:*:*:*:*","matchCriteriaId":"C5FBDA79-D693-47C6-9A3A-12923B415722"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-x1200_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"9350E6E0-D5B0-4771-B3E9-2D32595B34E1"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-x1200:-:*:*:*:*:*:*:*","matchCriteriaId":"E50D1D1D-F363-4B77-BD4B-64B111D40603"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-x750_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"13E0A95F-C2ED-4013-A799-897882F2DF97"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-x750:-:*:*:*:*:*:*:*","matchCriteriaId":"17F0F848-0A3A-43CB-A766-71FD37CADF1B"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-x300b_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"B361B182-C97B-4F68-A7DE-8DA7F2E809EC"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-x300b:-:*:*:*:*:*:*:*","matchCriteriaId":"7F6C489C-C1DF-4D8B-9554-0F03E329AABB"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-xe300_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"99E0D394-EF3E-4D41-A2AB-9288C4D9351F"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-xe300:-:*:*:*:*:*:*:*","matchCriteriaId":"B11C2B97-A528-4BA9-9E46-293715A2BC21"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-ar750s_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"4F49F121-78E5-4256-AE49-1CABE9E09402"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-ar750s:-:*:*:*:*:*:*:*","matchCriteriaId":"8C939D70-5353-43B7-AEF9-8F1D784DD4EF"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-ar750_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"C14588E5-B00D-4FAF-84DA-CE190E1A88AE"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-ar750:-:*:*:*:*:*:*:*","matchCriteriaId":"6FE176E8-8CB1-429B-9B3B-E1F58EC0C8F5"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-mifi_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"ED6628FC-28A1-42C9-9B17-9FA5F8F0E670"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-mifi:-:*:*:*:*:*:*:*","matchCriteriaId":"1B9DB815-57A6-45F4-A68D-3507C3EE383E"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-mt300n-v2_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"7BDF9205-45B2-4AC3-9997-2666FD0231E7"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-mt300n-v2:-:*:*:*:*:*:*:*","matchCriteriaId":"EA4A042E-2C80-4EF9-93CA-D2756216BB0C"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-ar300m_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"8D22AEE4-C757-42E8-AFA2-DB0F07883E55"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-ar300m:-:*:*:*:*:*:*:*","matchCriteriaId":"10C965DA-2D49-4ED6-B028-3A23164EDC14"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:gl-usb150_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"32540966-8B83-4D32-9B64-FA4F6C8C461F"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:gl-usb150:-:*:*:*:*:*:*:*","matchCriteriaId":"322804A7-CE99-41E8-90DA-B60BE85F9449"}]}]},{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:gl-inet:microuter-n300_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"3.216","matchCriteriaId":"8FF61490-908B-41CD-9DB4-EDD7B937828C"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:h:gl-inet:microuter-n300:-:*:*:*:*:*:*:*","matchCriteriaId":"13BEA3DD-0633-4F0B-97E0-C544C8232E3D"}]}]}],"references":[{"url":"https://github.com/gl-inet/CVE-issues/blob/main/3.215/Arbitrary_File_Read.md","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.gl-inet.com","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://github.com/gl-inet/CVE-issues/blob/main/3.215/Arbitrary_File_Read.md","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.gl-inet.com","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}