{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2006-0840 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2006-0840 is a medium-severity SQL injection vulnerability in n/a, published on 22 Feb 2006. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2006-0840 and fix it if it is affected.\n\nWhat it is: CVE-2006-0840 is a medium-severity SQL injection vulnerability in n/a, published on 22 Feb 2006. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2006-0840 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2006-0840/ (Markdown: https://insights.sbomify.com/CVE-2006-0840/index.md)","id":"CVE-2006-0840","markdown":"https://insights.sbomify.com/CVE-2006-0840/index.md","name":"CVE-2006-0840","record":{"aliases":["GHSA-828x-hwm7-cpgr"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Mantis bug tracker","requires_auth":"low_privilege","summary":"Remote attackers can exploit SQL injection in Mantis to trigger errors or potentially access data via the sort parameter.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mantis","vendor":"mantis"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","version":"2.0"},"cwes":[],"description":"manage_user_page.php in Mantis 1.00rc4 and earlier does not properly handle a sort parameter containing a ' (quote) character, which allows remote attackers to trigger a SQL error that may be repeatedly reported to a user who makes subsequent web accesses with the MANTIS_MANAGE_COOKIE cookie.  NOTE: this issue might be the same as vector 2 in CVE-2005-4519.","ecosystems":[],"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":"SQL injection in n/a","id":"CVE-2006-0840","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2006"},"n_packages":0,"n_references":6,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2006-0841"},"packages":[],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2006-0839"},"products":["n/a"],"published":"2006-02-22","related":[{"cvss_score":10,"headline":"Missing authorization in n/a","id":"CVE-2006-6515","kev_date_added":null,"published":"2006-12-14"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2006-0665","kev_date_added":null,"published":"2006-02-13"},{"cvss_score":10,"headline":"SQL injection in n/a","id":"CVE-2002-1110","kev_date_added":null,"published":"2002-09-10"},{"cvss_score":9,"headline":"Code injection in n/a","id":"CVE-2008-4687","kev_date_added":null,"published":"2008-10-22"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2008-4689","kev_date_added":null,"published":"2008-10-22"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2008-3333","kev_date_added":null,"published":"2008-07-27"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2005-4519","kev_date_added":null,"published":"2005-12-28"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can exploit SQL injection in Mantis to trigger errors or potentially access data via the sort parameter.","url":"https://insights.sbomify.com/CVE-2006-0840/"}