CVE-2007-4596: PHP - Remote Code Execution
- Cve: CVE-2007-4596
- Name: PHP - Remote Code Execution
- Description: The perl extension in PHP does not follow safe_mode restrictions, which allows context-dependent attackers to execute arbitrary code via the Perl eval function. NOTE: this might only be a vulnerability in limited environments.
- Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Disable or update the perl extension in PHP to ensure safe_mode restrictions are enforced.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
- Epss score: 0.08248
- Epss percentile: 0.95037
- Assignee: [email protected]
- Published at: 2007-08-30T18:17:00Z
- Age in days: 7026
- Modified at: 2026-06-16T22:44:24Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-4596
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.exploit-db.com/exploits/4314 | nvd | 2007-08-30 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.exploit-db.com/exploits/4314 | nvd | Exploit, Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| php:php | all versions | no | nvd | /v1/products/php/php |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2007-08-30
- Remote: yes
- Exposed hosts: 6175026
- Checked, none or zero: known exploited, known exploited by, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports