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.
CVE-2004-1315
Score elevated to 9.0 because EPSS predicts 86% probability of exploitation within the next 30 days (top 0.6% of all CVEs). Confidence: see factors.
- High exploitation likelihood — EPSS 72%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- —
- EG Score
- 9.0(low)
- EPSS
- 99.4%
- KEV
- Not listed
Published
November 12, 2004
Last Modified
June 16, 2026
References (22)
- cve@mitrehttp://marc.info/?l=bugtraq&m=110029415208724&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=110365752909029&w=2
- cve@mitrehttp://marc.info/?t=110079440800004&r=1&w=2
- cve@mitrehttp://secunia.com/advisories/13239/
- cve@mitrehttp://www.kb.cert.org/vuls/id/497400
- cve@mitrehttp://www.phpbb.com/phpBB/viewtopic.php?t=240513
- cve@mitrehttp://www.securityfocus.com/archive/1/385208
- cve@mitrehttp://www.securityfocus.com/bid/10701
- cve@mitrehttp://www.us-cert.gov/cas/techalerts/TA04-356A.html
- cve@mitrehttps://exchange.xforce.ibmcloud.com/vulnerabilities/18052
- cve@mitrehttps://security.gentoo.org/glsa/200411-32
- af854a3a-2127-422b-91ae-364da2661108http://marc.info/?l=bugtraq&m=110029415208724&w=2
- af854a3a-2127-422b-91ae-364da2661108http://marc.info/?l=bugtraq&m=110365752909029&w=2
- af854a3a-2127-422b-91ae-364da2661108http://marc.info/?t=110079440800004&r=1&w=2
- af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/13239/
Data Freshness Timeline
(refreshed 2× in last 7d / 12× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-13 06:07 UTCEPSS rescore
- 2026-07-08 15:09 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 15:46 UTCEG score recompute
- 2026-05-31 15:46 UTCGHSA enrichment
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
Show 7 moreShow fewer
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(5 references)Working exploit code is in the public domain (1 Metasploit module) (4 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-16890✓ verifiedFirst seen Jul 3, 2010
phpBB - 'viewtopic.php' Arbitrary Code Execution (Metasploit)
Open source ↗ - Exploit-DBEDB-12510First seen May 5, 2010
PHP-Nuke 7.0/8.1/8.1.35 - Wormable Remote Code Execution
Open source ↗ - Exploit-DBEDB-647✓ verifiedFirst seen Nov 22, 2004
phpBB 2.0.10 - Remote Command Execution
Open source ↗ - Metasploitexploit/unix/webapp/phpbb_highlight✓ verifiedFirst seen Nov 12, 2004
phpBB viewtopic.php Arbitrary Code Execution
Open source ↗ - Exploit-DBEDB-24274✓ verifiedFirst seen Jul 12, 2004
phpBB 2.0.x - 'viewtopic.php' PHP Script Injection
Open source ↗
Frequently asked(4)
What is CVE-2004-1315?
When was CVE-2004-1315 disclosed?
Is CVE-2004-1315 actively exploited?
How do I remediate CVE-2004-1315?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2004-1315
Is Your Infrastructure Affected by CVE-2004-1315?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.