{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-20786 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-20786 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-20786 is a medium-severity SQL injection vulnerability in Cisco Unified Communications Manager IM and Presence Service, published on 21 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-20786 and fix it if it is affected.\n\nWhat it is: CVE-2022-20786 is a medium-severity SQL injection vulnerability in Cisco Unified Communications Manager IM and Presence Service, published on 21 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-20786 in the wild and no public exploit code.\n\nAffected product: Cisco Unified Communications Manager IM and Presence Service. 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-2022-20786/ (Markdown: https://insights.sbomify.com/CVE-2022-20786/index.md)","id":"CVE-2022-20786","markdown":"https://insights.sbomify.com/CVE-2022-20786/index.md","name":"CVE-2022-20786","record":{"aliases":["GHSA-6rfr-j54f-6xv3"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Cisco Unified CM IM\u0026P","requires_auth":"low_privilege","summary":"Authenticated attackers can perform SQL injection to read or modify database data in Cisco Unified CM IM \u0026 Presence Service.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"unified_communications_manager_im_and_presence_service","vendor":"cisco"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A vulnerability in the web-based management interface of Cisco Unified Communications Manager IM \u0026amp; Presence Service (Unified CM IM\u0026amp;P) could allow an authenticated, remote attacker to conduct SQL injection attacks on an affected system. This vulnerability is due to improper validation of user-submitted parameters. An attacker could exploit this vulnerability by authenticating to the application and sending malicious requests to an affected system. A successful exploit could allow the attacker to obtain data or modify data that is stored in the underlying database of the affected system.","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":"Cisco Unified Communications Manager IM \u0026 Presence Service SQL Injection Vulnerability","id":"CVE-2022-20786","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Cisco Unified Communications Products Cross-Site Request Forgery Vulnerability","id":"CVE-2022-20787"},"packages":[],"prev":{"headline":"ClamAV HTML Scanning Memory Leak Vulnerability Affecting Cisco Products: April 2022","id":"CVE-2022-20785"},"products":["Cisco Unified Communications Manager IM and Presence Service"],"published":"2022-04-21","related":[{"cvss_score":8.8,"headline":"Cross-site request forgery in Cisco Unified Communications Manager IM \u0026 Presence Service unknown","id":"CVE-2018-0363","kev_date_added":null,"published":"2018-06-21"},{"cvss_score":7.5,"headline":"Denial of service in Cisco Unified Communications Manager IM and Presence Service","id":"CVE-2023-20108","kev_date_added":null,"published":"2023-06-28"},{"cvss_score":7.5,"headline":"Information disclosure in Cisco Unified Communications Manager","id":"CVE-2016-6464","kev_date_added":null,"published":"2016-12-14"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2016-1466","kev_date_added":null,"published":"2016-08-08"},{"cvss_score":7.1,"headline":"Cisco Unified Communications Manager IM \u0026 Presence Service SQL Injection Vulnerabilities","id":"CVE-2021-1363","kev_date_added":null,"published":"2021-05-06"},{"cvss_score":7.1,"headline":"Cisco Unified Communications Manager IM \u0026 Presence Service SQL Injection Vulnerabilities","id":"CVE-2021-1365","kev_date_added":null,"published":"2021-05-06"},{"cvss_score":6.5,"headline":"Cisco Unified Communications Manager IM \u0026 Presence Service Information Disclosure Vulnerability","id":"CVE-2024-20457","kev_date_added":null,"published":"2024-11-06"}],"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":"partial"},"state":"PUBLISHED","updated":"2024-11-06","vendors":["Cisco"]},"summary":"Authenticated attackers can perform SQL injection to read or modify database data in Cisco Unified CM IM \u0026 Presence Service.","url":"https://insights.sbomify.com/CVE-2022-20786/"}