{"answers":{"affected":"It affects 32 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31472 exists.","fix":"No fix has been published for CVE-2023-31472 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-31472 is a high-severity command injection vulnerability in n/a, published on 9 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-31472 and fix it if it is affected.\n\nWhat it is: CVE-2023-31472 is a high-severity command injection vulnerability in n/a, published on 9 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31472 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-31472/ (Markdown: https://insights.sbomify.com/CVE-2023-31472/index.md)","id":"CVE-2023-31472","markdown":"https://insights.sbomify.com/CVE-2023-31472/index.md","name":"CVE-2023-31472","record":{"aliases":["CVE-2023-33624","GHSA-2j86-h6vf-9889"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"GL.iNet router","requires_auth":"none","summary":"Attackers can exploit a command injection flaw to create arbitrary files on GL.iNet routers, potentially leading to code execution or data modification.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"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","vendor":"gl-inet"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2023-31472","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Command injection in n/a","id":"CVE-2023-31473"},"packages":[],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2023-31471"},"products":["n/a"],"published":"2023-05-09","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2023-50919","kev_date_added":null,"published":"2024-01-12"},{"cvss_score":9.8,"headline":"Privilege escalation in n/a","id":"CVE-2023-50921","kev_date_added":null,"published":"2024-01-03"},{"cvss_score":9.8,"headline":"Security feature bypass in n/a","id":"CVE-2023-31471","kev_date_added":null,"published":"2023-05-10"},{"cvss_score":9,"headline":"Memory corruption in n/a","id":"CVE-2023-31475","kev_date_added":null,"published":"2023-05-11"},{"cvss_score":7.8,"headline":"Command injection in n/a","id":"CVE-2023-50445","kev_date_added":null,"published":"2023-12-28"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2023-31477","kev_date_added":null,"published":"2023-05-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-29","vendors":["n/a"]},"summary":"Attackers can exploit a command injection flaw to create arbitrary files on GL.iNet routers, potentially leading to code execution or data modification.","url":"https://insights.sbomify.com/CVE-2023-31472/"}