PHP accepts \0 character in pathname
Multiple products
At a glance
PHP before 5.3.4 accepts the \0 character in a pathname, which might allow context-dependent attackers to bypass intended access restrictions by placing a safe file extension after this character, as demonstrated by .php\0.jpg at the end of the argument to the file_exists function.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 5.363%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≤ 5.3.3Show full version range for php1.02.02.0b103.03.0.13.0.103.0.113.0.123.0.133.0.143.0.153.0.163.0.173.0.183.0.23.0.33.0.43.0.53.0.63.0.73.0.83.0.94.04.0.04.0.14.0.24.0.34.0.44.0.54.0.64.0.74.1.04.1.14.1.24.2.04.2.14.2.24.2.34.3.04.3.14.3.104.3.114.3.24.3.34.3.44.3.54.3.64.3.74.3.84.3.94.4.04.4.14.4.24.4.34.4.44.4.54.4.64.4.74.4.84.4.95.0.05.0.15.0.25.0.35.0.45.0.55.1.05.1.15.1.25.1.35.1.45.1.55.1.65.2.05.2.15.2.105.2.115.2.125.2.135.2.145.2.155.2.165.2.175.2.25.2.35.2.45.2.55.2.65.2.75.2.85.2.95.3.05.3.15.3.2 |
| Vendor:Fedora | phpEnvironments (1)
| Affected versions: < 5.6.9-1.fc21 |
| Vendor:Fedora | phpEnvironments (1)
| Affected versions: < 0:5.6.9-1.fc22 |
| Vendor:oraclelinux | phpEnvironments (1)
| Affected versions: < 0:5.1.6-44.el5_10 |
| Vendor:oraclelinux | php-bcmathEnvironments (1)
| Affected versions: < 0:5.1.6-44.el5_10 |
| Vendor:oraclelinux | php-cliEnvironments (1)
| Affected versions: < 0:5.1.6-44.el5_10 |
| Vendor:oraclelinux | php-commonEnvironments (1)
| Affected versions: < 0:5.1.6-44.el5_10 |
| Vendor:oraclelinux | php-dbaEnvironments (1)
| Affected versions: < 0:5.1.6-44.el5_10 |
| Vendor:oraclelinux | php-develEnvironments (1)
| Affected versions: < 0:5.1.6-44.el5_10 |
| Vendor:oraclelinux | php-gdEnvironments (1)
| Affected versions: < 0:5.1.6-44.el5_10 |
1–10 of 458 · Page 1 of 46
CVSS scores and metrics4
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:Nnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:Nredhat · Wazuh CTI (adp)4.0 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:P/I:P/A:NRed Hat · Red Hat VEX (adp)4.0 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:P/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories42
- CVE List / CNA
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- openwall.com
- openwall.com
- oval.cisecurity.org
- openwall.com
- lists.apple.com
- mandriva.com
- openwall.com
- securityfocus.com
- openwall.com
- rhn.redhat.com
- php.net
- marc.info
- rhn.redhat.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- php.net
- support.apple.com
- svn.php.net
- marc.info
- bugs.php.net
- php.net
- svn.php.net
- rhn.redhat.com
- madirish.net
- secunia.com
- SUSE-SU-2016:1638-1
- SUSE CVE-2006-7243
- access.redhat.com
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- linux.oracle.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- Mitre CVE-2006-7243
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences