CVE-2015-4026: PHP - Command Injection
- Cve: CVE-2015-4026
- Name: PHP - Command Injection
- Description: The pcntl_exec implementation in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \x00 character, which might allow remote attackers to bypass intended extension restrictions and execute files with unexpected names via a crafted first argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.
- Impact: Attackers can execute arbitrary files with unexpected names, potentially leading to remote code execution.
- Remediation: Update PHP to version 5.4.41, 5.5.25, 5.6.9 or later versions.
- 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.18829
- Epss percentile: 0.97356
- Assignee: [email protected]
- Published at: 2015-06-09T18:59:08Z
- Age in days: 4186
- Modified at: 2026-06-17T00:26:39Z
- Patch available: yes
- Public exploits total: 1
- References total: 18
- Products total: 9
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-4026
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-19 | — |
Hackerone
- Reports: 1
- Rank: 5193
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.php.net/bug.php?id=68598 | nvd | 2015-06-09 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| php:php | = 5.5.0 alpha6, = 5.6.8, = 5.6.7, = 5.6.6, = 5.6.5, = 5.6.4, = 5.6.3, = 5.6.2, = 5.6.0 alpha1, = 5.6.0 alpha2, = 5.6.0 alpha3, = 5.6.0 alpha4, = 5.6.0 alpha5, = 5.6.0 beta1, = 5.6.0 beta2, = 5.6.0 beta3, = 5.6.0 beta4, = 5.5.24, = 5.5.23, = 5.5.22, = 5.5.21, = 5.5.20, = 5.5.19, = 5.5.18, = 5.5.14, = 5.5.13, = 5.5.12, = 5.5.11, = 5.5.10, = 5.5.9, = 5.5.8, = 5.5.7, = 5.5.6, = 5.5.5, = 5.5.4, = 5.5.3, = 5.5.2, = 5.5.1, = 5.5.0, = 5.5.0 alpha1, = 5.5.0 alpha2, = 5.5.0 alpha3, = 5.5.0 alpha4, = 5.5.0 alpha5, = 5.5.0 beta1, = 5.5.0 beta2, = 5.5.0 beta3, = 5.5.0 beta4, = 5.5.0 rc1, = 5.5.0 rc2, <= 5.4.40, = 5.4.39 | /v1/products/php/php |
| apple:mac_os_x | <= 10.10.4 | /v1/products/apple/mac_os_x |
| redhat:enterprise_linux | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux |
| redhat:enterprise_linux_desktop | = 7.0 | /v1/products/redhat/enterprise_linux_desktop |
| redhat:enterprise_linux_server | = 7.0 | /v1/products/redhat/enterprise_linux_server |
| redhat:enterprise_linux_workstation | = 7.0 | /v1/products/redhat/enterprise_linux_workstation |
| redhat:enterprise_linux_server_eus | = 7.1 | /v1/products/redhat/enterprise_linux_server_eus |
| redhat:enterprise_linux_hpc_node | = 7.0 | /v1/products/redhat/enterprise_linux_hpc_node |
| redhat:enterprise_linux_hpc_node_eus | = 7.1 | /v1/products/redhat/enterprise_linux_hpc_node_eus |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2015-06-09
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 6175026
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since