{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-1315 exists.","fix":"No fix has been published for CVE-2004-1315 yet. Limit exposure of the affected software until one is available.","what":"CVE-2004-1315 is a high-severity code injection vulnerability in Phpbb Group Phpbb, published on 31 Dec 2004. 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-1315 and fix it if it is affected.\n\nWhat it is: CVE-2004-1315 is a high-severity code injection vulnerability in Phpbb Group Phpbb, published on 31 Dec 2004. 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-1315 exists.\n\nAffected product: Phpbb Group Phpbb. 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-1315/ (Markdown: https://insights.sbomify.com/CVE-2004-1315/index.md)","id":"CVE-2004-1315","markdown":"https://insights.sbomify.com/CVE-2004-1315/index.md","name":"CVE-2004-1315","record":{"aliases":["GHSA-x5j2-7752-gm38"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"phpBB forum software","requires_auth":"none","summary":"Remote attackers can execute arbitrary PHP code via double-encoded highlight parameters in phpBB, as exploited by the Santy.A worm.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"phpbb","vendor":"phpbb_group"}],"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":"viewtopic.php in phpBB 2.x before 2.0.11 improperly URL decodes the highlight parameter when extracting words and phrases to highlight, which allows remote attackers to execute arbitrary PHP code by double-encoding the highlight value so that special characters are inserted into the result, which is then processed by PHP exec, as exploited by the Santy.A worm.","ecosystems":[],"exploits":{"exploitdb":4,"first_seen":"2004-07-12","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2004-07-12","kind":"exploitdb","ref":"24274","stars":null,"title":"phpBB 2.0.x - 'viewtopic.php' PHP Script Injection"},{"date":"2004-11-12","kind":"metasploit","ref":"exploit/unix/webapp/phpbb_highlight","stars":null,"title":"phpBB viewtopic.php Arbitrary Code Execution"},{"date":"2004-11-22","kind":"exploitdb","ref":"647","stars":null,"title":"phpBB 2.0.10 - Remote Command Execution"},{"date":"2010-05-05","kind":"exploitdb","ref":"12510","stars":null,"title":"PHP-Nuke 7.0/8.1/8.1.35 - Wormable Remote Code Execution"},{"date":"2010-07-03","kind":"exploitdb","ref":"16890","stars":null,"title":"phpBB - 'viewtopic.php' Arbitrary Code Execution (Metasploit)"}],"tier":"weaponised"},"has_fix":null,"headline":"Code injection in n/a","id":"CVE-2004-1315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"phpbb_group:phpbb","products":["phpbb_group:phpbb"],"type":"code_injection","year":"2004"},"n_packages":0,"n_references":11,"next":{"headline":"Memory corruption in n/a","id":"CVE-2004-1316"},"packages":[],"prev":{"headline":"Other in n/a","id":"CVE-2004-1314"},"products":["n/a"],"published":"2004-12-31","related":[{"cvss_score":10,"headline":"File upload in n/a","id":"CVE-2007-1695","kev_date_added":null,"published":"2007-03-27"},{"cvss_score":10,"headline":"Open redirect in n/a","id":"CVE-2006-6839","kev_date_added":null,"published":"2007-01-03"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2006-6840","kev_date_added":null,"published":"2007-01-03"},{"cvss_score":10,"headline":"Cross-site request forgery in n/a","id":"CVE-2006-6841","kev_date_added":null,"published":"2007-01-03"},{"cvss_score":10,"headline":"SQL injection in n/a","id":"CVE-2002-2176","kev_date_added":null,"published":"2005-11-16"},{"cvss_score":10,"headline":"Missing authorization in n/a","id":"CVE-2002-1537","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":10,"headline":"File upload in n/a","id":"CVE-2002-0473","kev_date_added":null,"published":"2003-04-02"}],"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":"BSD-3-Clause","name":"Metasploit"},{"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 execute arbitrary PHP code via double-encoded highlight parameters in phpBB, as exploited by the Santy.A worm.","url":"https://insights.sbomify.com/CVE-2004-1315/"}