{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-1870 exists.","fix":"No fix has been published for CVE-2004-1870 yet. Limit exposure of the affected software until one is available.","what":"CVE-2004-1870 is a high-severity SQL injection vulnerability in n/a, published on 10 May 2005. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2004-1870 and fix it if it is affected.\n\nWhat it is: CVE-2004-1870 is a high-severity SQL injection vulnerability in n/a, published on 10 May 2005. 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-2004-1870 exists.\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-2004-1870/ (Markdown: https://insights.sbomify.com/CVE-2004-1870/index.md)","id":"CVE-2004-1870","markdown":"https://insights.sbomify.com/CVE-2004-1870/index.md","name":"CVE-2004-1870","record":{"aliases":["GHSA-3mx4-39m2-w2c8"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PhotoPost PHP Pro","requires_auth":"none","summary":"Remote attackers can exploit SQL injection flaws in PhotoPost PHP Pro to steal user passwords without authentication.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"photopost_php_pro","vendor":"photopost"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Multiple SQL injection vulnerabilities in PhotoPost PHP Pro 4.6.x and earlier allow remote attackers to gain users' passwords via the (1) photo parameter to addfav.php, (2) photo parameter to comments.php, (3) credit parameter to comments.php, (4) cat parameter to index.php, (5) ppuser parameter to showgallery.php, (6) cat parameter to showgallery.php, (7) cat parameter to uploadphoto.php, (8) albumid parameter to useralbums.php, or (9) albumid parameter to useralbums.php.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2004-03-28","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-03-28","kind":"exploitdb","ref":"43808","stars":null,"title":"PhotoPost \u003c 4.6 - Multiple Vulnerabilities"},{"date":"2004-03-29","kind":"exploitdb","ref":"23885","stars":null,"title":"PhotoPost PHP Pro 3.x/4.x - 'showgallery.php' Multiple SQL Injections"}],"tier":"weaponised"},"has_fix":null,"headline":"SQL injection in n/a","id":"CVE-2004-1870","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2004"},"n_packages":0,"n_references":5,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2004-1871"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2004-1869"},"products":["n/a"],"published":"2005-05-10","related":[{"cvss_score":10,"headline":"SQL injection in n/a","id":"CVE-2004-0239","kev_date_added":null,"published":"2004-03-18"},{"cvss_score":10,"headline":"SQL injection in n/a","id":"CVE-2004-0250","kev_date_added":null,"published":"2004-03-18"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2006-4990","kev_date_added":null,"published":"2006-09-26"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2006-4828","kev_date_added":null,"published":"2006-09-15"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2005-1629","kev_date_added":null,"published":"2005-05-17"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2005-0774","kev_date_added":null,"published":"2005-03-20"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can exploit SQL injection flaws in PhotoPost PHP Pro to steal user passwords without authentication.","url":"https://insights.sbomify.com/CVE-2004-1870/"}