CVE-2003-1227
Description
PHP remote file include vulnerability in index.php for Gallery 1.4 and 1.4-pl1, when running on Windows or in Configuration mode on Unix, allows remote attackers to inject arbitrary PHP code via a URL in the GALLERY_BASEDIR parameter, a different vulnerability than CVE-2002-1412. NOTE: this issue might be exploitable only during installation, or if the administrator has not run a security script after installation.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
6.663%
chance of exploitation in the next 30 days
higher than 94% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-94: Improper Control of Generation of Code
Timeline
- 2003-10-11First Exploit-DB entry (EDB-ID 23238)81 days before publication
- 2003-12-31Published
- 2005-08-16Published by the CNA04:00 UTC · 594 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 23238 | webapps | php | 2003-10-11 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gallery_project gallery | 1.4no fix listed1.4_pl1no fix listed | not listednot listed |
References
- http://www.securityfocus.com/archive/1/341044
- http://www.securityfocus.com/bid/8814
- http://www.securityfocus.com/archive/1/341094
- http://www.securityfocus.com/archive/1/341098
- https://exchange.xforce.ibmcloud.com/vulnerabilities/13419
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2003-1227'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2003-1227'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2003-1227'curl 'https://api.contrastcyber.com/cve_products/CVE-2003-1227'
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.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- 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).