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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
72.539%
chance of exploitation in the next 30 days
higher than 99.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 4
Timeline
- 2004-07-12First Exploit-DB entry (EDB-ID 24274)123 days before publication
- 2004-11-12Published
- 2004-12-31Published by the CNA05:00 UTC · 49 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 16890 | webapps | php | 2010-07-03 | yes |
| EDB-ID 647 | webapps | php | 2004-11-22 | yes |
| EDB-ID 24274 | webapps | php | 2004-07-12 | yes |
| EDB-ID 12510 | webapps | php | 2010-05-05 | no |
Affected products
| Vendor | Product |
|---|---|
| phpbb_group | phpbb |
References
- http://secunia.com/advisories/13239/
- http://www.kb.cert.org/vuls/id/497400
- http://www.us-cert.gov/cas/techalerts/TA04-356A.html
- http://www.phpbb.com/phpBB/viewtopic.php?t=240513
- https://security.gentoo.org/glsa/200411-32
- http://marc.info/?l=bugtraq&m=110029415208724&w=2
- http://marc.info/?l=bugtraq&m=110365752909029&w=2
- http://marc.info/?t=110079440800004&r=1&w=2
- http://www.securityfocus.com/archive/1/385208
- http://www.securityfocus.com/bid/10701
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18052
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2004-1315'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2004-1315'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2004-1315'curl 'https://api.contrastcyber.com/cve_products/CVE-2004-1315'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).