{"id":"CVE-2004-1315","aliases":["EUVD-2004-1312","GHSA-x5j2-7752-gm38"],"status":"published","title":"viewtopic.php in phpBB 2.x before 2.0.11 improperly URL decodes the highlight parameter when...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.72539,"percentile":0.99445,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2004-11-12T05:00:00Z","modified":"2026-06-16T22:07:27Z","exploits":[{"source":"exploitdb","id":"EDB-12510","title":"PHP-Nuke 7.0/8.1/8.1.35 - Wormable Remote Code Execution","type":"webapps","platform":"php","date":"2010-05-05","url":"https://www.exploit-db.com/exploits/12510"},{"source":"exploitdb","id":"EDB-16890","title":"phpBB - 'viewtopic.php' Arbitrary Code Execution (Metasploit)","type":"webapps","platform":"php","date":"2010-07-03","verified":true,"url":"https://www.exploit-db.com/exploits/16890"},{"source":"exploitdb","id":"EDB-24274","title":"phpBB 2.0.x - 'viewtopic.php' PHP Script Injection","type":"webapps","platform":"php","date":"2004-07-12","verified":true,"url":"https://www.exploit-db.com/exploits/24274"},{"source":"exploitdb","id":"EDB-647","title":"phpBB 2.0.10 - Remote Command Execution","type":"webapps","platform":"php","date":"2004-11-22","verified":true,"url":"https://www.exploit-db.com/exploits/647"},{"source":"metasploit","id":"exploit/unix/webapp/phpbb_highlight","title":"phpBB viewtopic.php Arbitrary Code Execution","type":"exploit","platform":"Unix","date":"2004-11-12","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/webapp/phpbb_highlight"}],"products":[{"vendor":"phpbb_group","product":"phpbb"}],"references":[{"url":"http://www.securityfocus.com/bid/10701","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://security.gentoo.org/glsa/200411-32","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=110365752909029\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18052","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.phpbb.com/phpBB/viewtopic.php?t=240513","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.kb.cert.org/vuls/id/497400","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","Patch","Third Party Advisory","US Government Resource"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA04-356A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","Patch","Third Party Advisory","US Government Resource"]},{"url":"http://secunia.com/advisories/13239/","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory"]},{"url":"http://marc.info/?t=110079440800004\u0026r=1\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/385208","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=110029415208724\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1315"},{"url":"http://secunia.com/advisories/13239"},{"url":"https://github.com/advisories/GHSA-x5j2-7752-gm38"}],"sources":{"cve":[{"id":"CVE-2004-1315","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2024-08-08T00:46:12.359Z","updated_at":"2026-11-02T14:34:54.398187Z"}],"euvd":[{"id":"EUVD-2004-1312","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.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2024-08-08T00:46:12Z","updated_at":"2026-11-03T01:15:15.601329Z"}],"ghsa":[{"id":"GHSA-x5j2-7752-gm38","title":"viewtopic.php in phpBB 2.x before 2.0.11 improperly URL decodes the highlight parameter when...","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.","status":"published","published":"2022-04-29T02:59:19Z","modified":"2025-04-03T04:02:49Z","updated_at":"2026-11-02T15:00:39.470148Z"}],"nvd":[{"id":"CVE-2004-1315","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.","status":"published","published":"2004-11-12T05:00:00Z","modified":"2026-06-16T22:07:27.4Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:51.000028Z"}]}}
