{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8045 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-8045 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-8045 is a high-severity SQL injection vulnerability in Joomla Joomla\\!, published on 14 Mar 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-8045 and fix it if it is affected.\n\nWhat it is: CVE-2018-8045 is a high-severity SQL injection vulnerability in Joomla Joomla\\!, published on 14 Mar 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-8045 in the wild and no public exploit code.\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-2018-8045/ (Markdown: https://insights.sbomify.com/CVE-2018-8045/index.md)","id":"CVE-2018-8045","markdown":"https://insights.sbomify.com/CVE-2018-8045/index.md","name":"CVE-2018-8045","record":{"aliases":["GHSA-xgcx-vvr8-486q"],"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":"low_privilege","summary":"SQL injection in Joomla User Notes allows attackers to read or modify database contents via uncast variables.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"joomla\\!","vendor":"joomla"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/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":"In Joomla! 3.5.0 through 3.8.5, the lack of type casting of a variable in a SQL statement leads to a SQL injection vulnerability in the User Notes list view.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2019-11-14","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-11-14T09:18:40Z","kind":"github_poc","ref":"https://github.com/luckybool1020/CVE-2018-8045","stars":4,"title":"Joomla内核SQL注入漏洞原理、docker及poc[基于pocsuite框架]"}],"tier":"poc_unverified"},"has_fix":false,"headline":"SQL injection in n/a","id":"CVE-2018-8045","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"joomla:joomla\\!","products":["joomla:joomla\\!"],"type":"sql_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-8046"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2018-8044"},"products":["n/a"],"published":"2018-03-14","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":"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":"SQL injection in Joomla User Notes allows attackers to read or modify database contents via uncast variables.","url":"https://insights.sbomify.com/CVE-2018-8045/"}