{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-26731 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-26731 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-26731 is a critical command injection vulnerability in Lanner Inc IAC-AST2500A, published on 24 Oct 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-26731 and fix it if it is affected.\n\nWhat it is: CVE-2021-26731 is a critical command injection vulnerability in Lanner Inc IAC-AST2500A, published on 24 Oct 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-26731 in the wild and no public exploit code.\n\nAffected product: Lanner Inc IAC-AST2500A. 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-2021-26731/ (Markdown: https://insights.sbomify.com/CVE-2021-26731/index.md)","id":"CVE-2021-26731","markdown":"https://insights.sbomify.com/CVE-2021-26731/index.md","name":"CVE-2021-26731","record":{"aliases":["GHSA-9wgq-fhm2-pjf3"],"analysis":{"component_type":"iot_embedded","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Industrial IoT gateway","requires_auth":"high_privilege","summary":"An authenticated attacker can execute arbitrary code with root privileges via command injection and buffer overflows in the Lanner IAC-AST2500A firmware.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Nozomi","cpe":[{"product":"iac-ast2500a_firmware","vendor":"lannerinc"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"Command injection and multiple stack-based buffer overflows vulnerabilities in the modifyUserb_func function of spx_restservice allow an authenticated attacker to execute arbitrary code with the same privileges as the server user (root). This issue affects: Lanner Inc IAC-AST2500A standard firmware version 1.10.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"spx_restservice modifyUserb_func Command Injection and Multiple Stack-Based Buffer Overflows","id":"CVE-2021-26731","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"spx_restservice First_network_func Broken Access Control","id":"CVE-2021-26732"},"packages":[],"prev":{"headline":"spx_restservice Login_handler_func Subfunction Stack-Based Buffer Overflow","id":"CVE-2021-26730"},"products":["IAC-AST2500A"],"published":"2022-10-24","related":[{"cvss_score":10,"headline":"spx_restservice SubNet_handler_func Multiple Command Injections and Stack-Based Buffer Overflows","id":"CVE-2021-26727","kev_date_added":null,"published":"2022-10-24"},{"cvss_score":10,"headline":"spx_restservice KillDupUsr_func Command Injection and Stack-Based Buffer Overflow","id":"CVE-2021-26728","kev_date_added":null,"published":"2022-10-24"},{"cvss_score":10,"headline":"spx_restservice Login_handler_func Command Injection and Multiple Stack-Based Buffer Overflows","id":"CVE-2021-26729","kev_date_added":null,"published":"2022-10-24"},{"cvss_score":10,"headline":"spx_restservice Login_handler_func Subfunction Stack-Based Buffer Overflow","id":"CVE-2021-26730","kev_date_added":null,"published":"2022-10-24"},{"cvss_score":6.5,"headline":"spx_restservice First_network_func Broken Access Control","id":"CVE-2021-26732","kev_date_added":null,"published":"2022-10-24"},{"cvss_score":6.5,"headline":"spx_restservice SubNet_handler_func Broken Access Control","id":"CVE-2021-44776","kev_date_added":null,"published":"2022-10-24"}],"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-07","vendors":["Lanner Inc"]},"summary":"An authenticated attacker can execute arbitrary code with root privileges via command injection and buffer overflows in the Lanner IAC-AST2500A firmware.","url":"https://insights.sbomify.com/CVE-2021-26731/"}