{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2006-1895 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2006-1895 yet. Limit exposure of the affected software until one is available.","what":"CVE-2006-1895 is a medium-severity code injection vulnerability in Phpbb Group Phpbb, published on 20 Apr 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-1895 and fix it if it is affected.\n\nWhat it is: CVE-2006-1895 is a medium-severity code injection vulnerability in Phpbb Group Phpbb, published on 20 Apr 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-1895 in the wild and no public exploit code.\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-2006-1895/ (Markdown: https://insights.sbomify.com/CVE-2006-1895/index.md)","id":"CVE-2006-1895","markdown":"https://insights.sbomify.com/CVE-2006-1895/index.md","name":"CVE-2006-1895","record":{"aliases":["GHSA-ghp7-3wpq-fx4r"],"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":"low_privilege","summary":"Authenticated users with write access can execute arbitrary PHP code by modifying templates to bypass security checks in phpBB.","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":6.5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Direct static code injection vulnerability in includes/template.php in phpBB allows remote authenticated users with write access to execute arbitrary PHP code by modifying a template in a way that (1) bypasses a loose \".*\" regular expression to match BEGIN and END statements in overall_header.tpl, or (2) is used in an eval statement by includes/bbcode.php for bbcode.tpl.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Code injection in n/a","id":"CVE-2006-1895","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"phpbb_group:phpbb","products":["phpbb_group:phpbb"],"type":"code_injection","year":"2006"},"n_packages":0,"n_references":4,"next":{"headline":"Code injection in n/a","id":"CVE-2006-1896"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2006-1894"},"products":["n/a"],"published":"2006-04-20","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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Authenticated users with write access can execute arbitrary PHP code by modifying templates to bypass security checks in phpBB.","url":"https://insights.sbomify.com/CVE-2006-1895/"}