CVE-2004-2538: phpCodeGenie - Server-Side Template Injection
- Cve: CVE-2004-2538
- Name: phpCodeGenie - Server-Side Template Injection
- Description: Direct static code injection vulnerability in the PCG simple application generation in phpCodeGenie before 3.0.2 allows remote authenticated users to execute arbitrary code via the (1) header or (2) footer.
- Impact: Authenticated users can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to version 3.0.2 or later.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be an authenticated user
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P
- Epss score: 0.02291
- Epss percentile: 0.83678
- Assignee: [email protected]
- Published at: 2004-12-31T05:00:00Z
- Age in days: 7998
- Modified at: 2026-06-16T22:09:50Z
- Patch available: yes
- References total: 6
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2004-2538
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nilesh_dosooye:phpcodegenie | <= 3.0.1, = 3.0_alpha, = 3.0_beta, = 1.21, = 1.4, = 1.1 | no | nvd | /v1/products/nilesh_dosooye/phpcodegenie |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts