{"answers":{"affected":"It affects 12 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-50445 exists.","fix":"No fix has been published for CVE-2023-50445 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-50445 is a high-severity command injection vulnerability in n/a, published on 28 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-50445 and fix it if it is affected.\n\nWhat it is: CVE-2023-50445 is a high-severity command injection vulnerability in n/a, published on 28 Dec 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-50445 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-50445/ (Markdown: https://insights.sbomify.com/CVE-2023-50445/index.md)","id":"CVE-2023-50445","markdown":"https://insights.sbomify.com/CVE-2023-50445/index.md","name":"CVE-2023-50445","record":{"aliases":["GHSA-r64h-95wm-rrfq"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GL.iNet router","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary code on GL.iNet routers via shell injection in log and upgrade modules.","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-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-mt1300_firmware","vendor":"gl-inet"},{"product":"gl-mt2500_firmware","vendor":"gl-inet"},{"product":"gl-mt3000_firmware","vendor":"gl-inet"},{"product":"gl-mt300n-v2_firmware","vendor":"gl-inet"},{"product":"gl-mt6000_firmware","vendor":"gl-inet"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Shell Injection vulnerability GL.iNet A1300 v4.4.6, AX1800 v4.4.6, AXT1800 v4.4.6, MT3000 v4.4.6, MT2500 v4.4.6, MT6000 v4.5.0, MT1300 v4.3.7, MT300N-V2 v4.3.7, AR750S v4.3.7, AR750 v4.3.7, AR300M v4.3.7, and B1300 v4.3.7., allows local attackers to execute arbitrary code via the get_system_log and get_crash_log functions of the logread module, as well as the upgrade_online function of the upgrade module.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-12-10","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2023-12-10","kind":"metasploit","ref":"exploit/linux/http/glinet_unauth_rce_cve_2023_50445","stars":null,"title":"GL.iNet Unauthenticated Remote Command Execution via the logread module."}],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2023-50445","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":"Privilege escalation in n/a","id":"CVE-2023-50446"},"packages":[],"prev":{"headline":"Weak cryptography in n/a","id":"CVE-2023-50444"},"products":["n/a"],"published":"2023-12-28","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.5,"headline":"Path traversal in n/a","id":"CVE-2023-31477","kev_date_added":null,"published":"2023-05-11"},{"cvss_score":7.5,"headline":"Command injection in n/a","id":"CVE-2023-31472","kev_date_added":null,"published":"2023-05-09"}],"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Local attackers can execute arbitrary code on GL.iNet routers via shell injection in log and upgrade modules.","url":"https://insights.sbomify.com/CVE-2023-50445/"}