{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-8917 exists.","fix":"No fix has been published for CVE-2017-8917 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-8917 is a critical SQL injection vulnerability in Joomla Joomla\\!, published on 17 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-8917 and fix it if it is affected.\n\nWhat it is: CVE-2017-8917 is a critical SQL injection vulnerability in Joomla Joomla\\!, published on 17 May 2017. 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-2017-8917 exists.\n\nAffected product: Joomla Joomla\\!. 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-2017-8917/ (Markdown: https://insights.sbomify.com/CVE-2017-8917/index.md)","id":"CVE-2017-8917","markdown":"https://insights.sbomify.com/CVE-2017-8917/index.md","name":"CVE-2017-8917","record":{"aliases":["GHSA-p7mw-99mc-9597"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Joomla CMS","requires_auth":"none","summary":"Attackers can execute arbitrary SQL commands in Joomla, potentially reading or modifying database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"joomla\\!","vendor":"joomla"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"SQL injection vulnerability in Joomla! 3.7.x before 3.7.1 allows attackers to execute arbitrary SQL commands via unspecified vectors.","ecosystems":[],"exploits":{"exploitdb":3,"first_seen":"2017-05-17","github_poc":11,"max_poc_stars":68,"metasploit":1,"nuclei":1,"refs":[{"date":"2017-11-19T16:50:39Z","kind":"github_poc","ref":"https://github.com/stefanlucas/Exploit-Joomla","stars":68,"title":"CVE-2017-8917 - SQL injection Vulnerability Exploit in Joomla  3.7.0 "},{"date":"2017-05-19T15:21:46Z","kind":"github_poc","ref":"https://github.com/brianwrf/Joomla3.7-SQLi-CVE-2017-8917","stars":7,"title":"Joomla 3.7 SQL injection (CVE-2017-8917)"},{"date":"2022-04-13T19:44:19Z","kind":"github_poc","ref":"https://github.com/AkuCyberSec/CVE-2017-8917-Joomla-370-SQL-Injection","stars":2,"title":null},{"date":"2023-11-20T19:50:57Z","kind":"github_poc","ref":"https://github.com/BaptisteContreras/CVE-2017-8917-Joomla","stars":2,"title":"CVE-2017-8917 SQL injection Vulnerability in Joomla! 3.7.0 exploit"},{"date":"2026-02-08T21:48:38Z","kind":"github_poc","ref":"https://github.com/ztrxwzy/joomla.3.7.0exploit","stars":2,"title":"Proof of Concept exploit for the Joomla 3.7.0 com_fields SQL injection vulnerability (CVE-2017-8917), demonstrating detection, enumeration, and data extraction in a CTF-friendly workflow."},{"date":"2017-05-17","kind":"metasploit","ref":"exploit/unix/webapp/joomla_comfields_sqli_rce","stars":null,"title":"Joomla Component Fields SQLi Remote Code Execution"},{"date":"2017-05-19","kind":"exploitdb","ref":"42033","stars":null,"title":"Joomla! 3.7.0 - 'com_fields' SQL Injection"},{"date":"2018-03-29","kind":"exploitdb","ref":"44358","stars":null,"title":"Joomla! Component Fields - SQLi Remote Code Execution (Metasploit)"}],"tier":"weaponised"},"has_fix":false,"headline":"SQL injection in n/a","id":"CVE-2017-8917","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"joomla:joomla\\!","products":["joomla:joomla\\!"],"type":"sql_injection","year":"2017"},"n_packages":0,"n_references":5,"next":{"headline":"XML external entity in n/a","id":"CVE-2017-8918"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2017-8916"},"products":["n/a"],"published":"2017-05-17","related":[{"cvss_score":9.8,"headline":"PHPMailer Command Injection","id":"CVE-2016-10033","kev_date_added":"2025-07-07","published":"2016-12-30"},{"cvss_score":5.3,"headline":"Joomla! Improper Access Control","id":"CVE-2023-23752","kev_date_added":"2024-01-08","published":"2023-02-16"},{"cvss_score":9.8,"headline":"Joomla! Core - [20260518] - Transport encryption downgrade for password and username reset links","id":"CVE-2026-48902","kev_date_added":null,"published":"2026-05-26"},{"cvss_score":9.8,"headline":"[20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package","id":"CVE-2025-25226","kev_date_added":null,"published":"2025-04-08"},{"cvss_score":9.8,"headline":"[20220303] - Core - User row are not bound to a authentication mechanism","id":"CVE-2022-23795","kev_date_added":null,"published":"2022-03-30"},{"cvss_score":9.8,"headline":"[20220305] - Core - Inadequate filtering on the selected Ids","id":"CVE-2022-23797","kev_date_added":null,"published":"2022-03-30"},{"cvss_score":9.8,"headline":"[20220307] - Core - Variable Tampering on JInput $_REQUEST data","id":"CVE-2022-23799","kev_date_added":null,"published":"2022-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"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can execute arbitrary SQL commands in Joomla, potentially reading or modifying database contents.","url":"https://insights.sbomify.com/CVE-2017-8917/"}