{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2020-5722 in the wild since at least 28 Jan 2022.","fix":"No fix has been published for CVE-2020-5722 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 28 Jul 2022.","what":"CVE-2020-5722 is a critical SQL injection vulnerability in Grandstream UCM6200 Series, published on 23 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-5722 and fix it if it is affected.\n\nWhat it is: CVE-2020-5722 is a critical SQL injection vulnerability in Grandstream UCM6200 Series, published on 23 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-5722 in the wild since at least 28 Jan 2022.\n\nAffected product: Grandstream UCM6200 Series. 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-2020-5722/ (Markdown: https://insights.sbomify.com/CVE-2020-5722/index.md)","id":"CVE-2020-5722","markdown":"https://insights.sbomify.com/CVE-2020-5722/index.md","name":"CVE-2020-5722","record":{"aliases":["GHSA-cggp-723h-vg48"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Grandstream UCM6200","requires_auth":"none","summary":"Unauthenticated remote SQL injection in Grandstream UCM6200 allows attackers to execute shell commands as root or inject HTML into password recovery emails.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"tenable","cpe":[{"product":"ucm6200_firmware","vendor":"grandstream"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The HTTP interface of the Grandstream UCM6200 series is vulnerable to an unauthenticated remote SQL injection via crafted HTTP request. An attacker can use this vulnerability to execute shell commands as root on versions before 1.0.19.20 or inject HTML in password recovery emails in versions before 1.0.20.17.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2020-03-23","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":1,"refs":[{"date":"2020-03-23","kind":"metasploit","ref":"exploit/linux/http/grandstream_ucm62xx_sendemail_rce","stars":null,"title":"Grandstream UCM62xx IP PBX sendPasswordEmail RCE"},{"date":"2020-03-24","kind":"exploitdb","ref":"48247","stars":null,"title":"UCM6202 1.0.18.13 - Remote Command Injection"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-5722.yaml","stars":null,"title":"Grandstream UCM6200 - SQL Injection"}],"tier":"exploited"},"has_fix":null,"headline":"Grandstream Networks UCM6200 Series SQL Injection","id":"CVE-2020-5722","indexable":true,"kev":{"dateAdded":"2022-01-28","dueDate":"2022-07-28","knownRansomwareCampaignUse":"Unknown","product":"UCM6200","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Grandstream","vulnerabilityName":"Grandstream Networks UCM6200 Series SQL Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2020"},"n_packages":0,"n_references":3,"next":{"headline":"Information disclosure in Grandstream UCM6200 series","id":"CVE-2020-5723"},"packages":[],"prev":{"headline":"Hardcoded credentials in MikroTik WinBox","id":"CVE-2020-5721"},"products":["Grandstream UCM6200 Series"],"published":"2020-03-23","related":[],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"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"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Unauthenticated remote SQL injection in Grandstream UCM6200 allows attackers to execute shell commands as root or inject HTML into password recovery emails.","url":"https://insights.sbomify.com/CVE-2020-5722/"}