{"answers":{"affected":"2 open source packages ship an affected version, including qcubed/qcubed. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-24913 in the wild and no public exploit code.","fix":"Upgrade qcubed/qcubed to 3.2 or later.","what":"CVE-2020-24913 is a critical SQL injection vulnerability in n/a, published on 4 Mar 2021. 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-24913 and fix it if it is affected.\n\nWhat it is: CVE-2020-24913 is a critical SQL injection vulnerability in n/a, published on 4 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-24913 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- qcubed/qcubed (Packagist): affected all versions; fixed in 3.2\n- qcubed/qcubed (Packagist): affected all versions; fixed in 3.2\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-24913/ (Markdown: https://insights.sbomify.com/CVE-2020-24913/index.md)","id":"CVE-2020-24913","markdown":"https://insights.sbomify.com/CVE-2020-24913/index.md","name":"CVE-2020-24913","record":{"aliases":["GHSA-8fj6-pc5r-347q"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"qcubed PHP framework","requires_auth":"none","summary":"An unauthenticated attacker can inject SQL code via the strQuery parameter in profile.php to access the database.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"qcubed","vendor":"qcubed"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A SQL injection vulnerability in qcubed (all versions including 3.1.1) in profile.php via the strQuery parameter allows an unauthenticated attacker to access the database by injecting SQL code via a crafted POST request.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2024-05-20","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-05-20T18:45:50Z","kind":"github_poc","ref":"https://github.com/agarma/CVE-2020-24913-PoC","stars":0,"title":"A Poc for CVE-2020-24913, a SQL injection vulnerability in qcubed (all versions including 3.1.1) in profile.php via the strQuery parameter allows an unauthenticated attacker to access the database by injecting SQL code via a crafted POST request."},{"date":"2025-05-11T22:22:54Z","kind":"github_poc","ref":"https://github.com/shpaw415/CVE-2020-24913-exploit","stars":0,"title":"automated SQL injection for QCubed profile.php file"}],"tier":"poc_unverified"},"has_fix":true,"headline":"qcubed SQL injection vulnerability in profile.php via the strQuery parameter","id":"CVE-2020-24913","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"sql_injection","year":"2020"},"n_packages":2,"n_references":5,"next":{"headline":"qcubed PHP object injection","id":"CVE-2020-24914"},"packages":[{"ecosystem":"Packagist","fixed":["3.2"],"introduced":["0"],"last_affected":[],"package":"qcubed/qcubed","purl":null,"source":"GHSA-8fj6-pc5r-347q"},{"ecosystem":"Packagist","fixed":["3.2"],"introduced":["0"],"last_affected":[],"package":"qcubed/qcubed","purl":"pkg:composer/qcubed/qcubed","source":"GHSA-8fj6-pc5r-347q"}],"prev":{"headline":"qcubed reflected cross-site scripting (XSS) vulnerability","id":"CVE-2020-24912"},"products":["n/a"],"published":"2021-03-04","related":[{"cvss_score":9.8,"headline":"qcubed PHP object injection","id":"CVE-2020-24914","kev_date_added":null,"published":"2021-03-04"},{"cvss_score":6.1,"headline":"qcubed reflected cross-site scripting (XSS) vulnerability","id":"CVE-2020-24912","kev_date_added":null,"published":"2021-03-04"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-07-09","vendors":["n/a"]},"summary":"An unauthenticated attacker can inject SQL code via the strQuery parameter in profile.php to access the database.","url":"https://insights.sbomify.com/CVE-2020-24913/"}