{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-5724 exists.","fix":"No fix has been published for CVE-2020-5724 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-5724 is a high-severity SQL injection vulnerability in Grandstream UCM6200 series, published on 30 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-5724 and fix it if it is affected.\n\nWhat it is: CVE-2020-5724 is a high-severity SQL injection vulnerability in Grandstream UCM6200 series, published on 30 Mar 2020. 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-2020-5724 exists.\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-5724/ (Markdown: https://insights.sbomify.com/CVE-2020-5724/index.md)","id":"CVE-2020-5724","markdown":"https://insights.sbomify.com/CVE-2020-5724/index.md","name":"CVE-2020-5724","record":{"aliases":["GHSA-p4p6-qxv3-3wvj"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Grandstream UCM6200","requires_auth":"none","summary":"Remote unauthenticated attackers can exploit SQL injection in the websockify endpoint to discover user passwords on Grandstream UCM6200 devices.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"tenable","cpe":[{"product":"ucm6202_firmware","vendor":"grandstream"},{"product":"ucm6204_firmware","vendor":"grandstream"},{"product":"ucm6208_firmware","vendor":"grandstream"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The Grandstream UCM6200 series before 1.0.20.22 is vulnerable to an SQL injection via the HTTP server's websockify endpoint. A remote unauthenticated attacker can invoke the challenge action with a crafted username and discover user passwords.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2020-03-30","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2020-03-30","kind":"metasploit","ref":"auxiliary/gather/grandstream_ucm62xx_sql_account_guess","stars":null,"title":"Grandstream UCM62xx IP PBX WebSocket Blind SQL Injection Credential Dump"}],"tier":"weaponised"},"has_fix":null,"headline":"SQL injection in Grandstream UCM6200 series","id":"CVE-2020-5724","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"SQL injection in Grandstream UCM6200 series","id":"CVE-2020-5725"},"packages":[],"prev":{"headline":"Information disclosure in Grandstream UCM6200 series","id":"CVE-2020-5723"},"products":["Grandstream UCM6200 series"],"published":"2020-03-30","related":[{"cvss_score":9.8,"headline":"Command injection in Grandstream UCM6200 Series","id":"CVE-2020-5757","kev_date_added":null,"published":"2020-07-17"},{"cvss_score":9.8,"headline":"Command injection in Grandstream UCM6200 Series","id":"CVE-2020-5759","kev_date_added":null,"published":"2020-07-17"},{"cvss_score":9.8,"headline":"Information disclosure in Grandstream UCM6200 series","id":"CVE-2020-5723","kev_date_added":null,"published":"2020-03-30"},{"cvss_score":8.8,"headline":"Command injection in Grandstream UCM6200 Series","id":"CVE-2020-5758","kev_date_added":null,"published":"2020-07-17"},{"cvss_score":7.5,"headline":"SQL injection in Grandstream UCM6200 series","id":"CVE-2020-5726","kev_date_added":null,"published":"2020-03-30"},{"cvss_score":5.9,"headline":"SQL injection in Grandstream UCM6200 series","id":"CVE-2020-5725","kev_date_added":null,"published":"2020-03-30"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Remote unauthenticated attackers can exploit SQL injection in the websockify endpoint to discover user passwords on Grandstream UCM6200 devices.","url":"https://insights.sbomify.com/CVE-2020-5724/"}