{"answers":{"affected":"4 open source packages ship an affected version, including civicrm/civicrm-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2013-4662 in the wild and no public exploit code.","fix":"Upgrade civicrm/civicrm-core to a fixed version for your release line: 4.2.9 or 4.3.3.","what":"CVE-2013-4662 is a medium-severity SQL injection vulnerability in n/a, published on 29 Jan 2014. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-4662 and fix it if it is affected.\n\nWhat it is: CVE-2013-4662 is a medium-severity SQL injection vulnerability in n/a, published on 29 Jan 2014. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2013-4662 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- civicrm/civicrm-core (Packagist): affected from 4.2.0; fixed in 4.2.9\n- civicrm/civicrm-core (Packagist): affected from 4.2.0; fixed in 4.2.9\n- civicrm/civicrm-core (Packagist): affected from 4.3.0; fixed in 4.3.3\n- civicrm/civicrm-core (Packagist): affected from 4.3.0; fixed in 4.3.3\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-2013-4662/ (Markdown: https://insights.sbomify.com/CVE-2013-4662/index.md)","id":"CVE-2013-4662","markdown":"https://insights.sbomify.com/CVE-2013-4662/index.md","name":"CVE-2013-4662","record":{"aliases":["GHSA-4465-r2hg-v4rj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"CiviCRM","requires_auth":"low_privilege","summary":"Authenticated users can bypass validation in the Quick Search API to perform SQL injection attacks, potentially accessing or modifying database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"civicrm","vendor":"civicrm"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The Quick Search API in CiviCRM 4.2.0 through 4.2.9 and 4.3.0 through 4.3.3 allows remote authenticated users to bypass the validation layer and conduct SQL injection attacks via a direct request to the \"second layer\" of the API, related to contact.getquick.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"CiviCRM SQL injection vulnerability via Quick Search API","id":"CVE-2013-4662","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"sql_injection","year":"2013"},"n_packages":4,"n_references":2,"next":{"headline":"Command injection in n/a","id":"CVE-2013-4663"},"packages":[{"ecosystem":"Packagist","fixed":["4.2.9"],"introduced":["4.2.0"],"last_affected":[],"package":"civicrm/civicrm-core","purl":null,"source":"GHSA-4465-r2hg-v4rj"},{"ecosystem":"Packagist","fixed":["4.2.9"],"introduced":["4.2.0"],"last_affected":[],"package":"civicrm/civicrm-core","purl":"pkg:composer/civicrm/civicrm-core","source":"GHSA-4465-r2hg-v4rj"},{"ecosystem":"Packagist","fixed":["4.3.3"],"introduced":["4.3.0"],"last_affected":[],"package":"civicrm/civicrm-core","purl":null,"source":"GHSA-4465-r2hg-v4rj"},{"ecosystem":"Packagist","fixed":["4.3.3"],"introduced":["4.3.0"],"last_affected":[],"package":"civicrm/civicrm-core","purl":"pkg:composer/civicrm/civicrm-core","source":"GHSA-4465-r2hg-v4rj"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2013-4661"},"products":["n/a"],"published":"2014-01-29","related":[{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2018-1999022","kev_date_added":null,"published":"2018-07-23"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2020-36388","kev_date_added":null,"published":"2021-06-17"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2013-5957","kev_date_added":null,"published":"2013-11-27"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2025-65187","kev_date_added":null,"published":"2025-12-02"},{"cvss_score":5.8,"headline":"Weak cryptography in n/a","id":"CVE-2011-5239","kev_date_added":null,"published":"2012-11-06"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2023-25440","kev_date_added":null,"published":"2023-05-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Authenticated users can bypass validation in the Quick Search API to perform SQL injection attacks, potentially accessing or modifying database contents.","url":"https://insights.sbomify.com/CVE-2013-4662/"}