Back to CVE catalog
CVE-2006-7243

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

Attack complexityLow
ConfidentialityNone
IntegrityPartial
AvailabilityNone

CVSS summary v2.0

5.0Medium
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 and affected versions
Vendor:phpphpAffected versions:
≤ 5.3.3Show full version range for php
1.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:Fedoraphp
Environments (1)
  • cpe:/o:fedoraproject:fedora:21
Affected versions:
< 5.6.9-1.fc21
Vendor:Fedoraphp
Environments (1)
  • cpe:/o:fedoraproject:fedora:22
Affected versions:
< 0:5.6.9-1.fc22
Vendor:oraclelinuxphp
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-44.el5_10
Vendor:oraclelinuxphp-bcmath
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-44.el5_10
Vendor:oraclelinuxphp-cli
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-44.el5_10
Vendor:oraclelinuxphp-common
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-44.el5_10
Vendor:oraclelinuxphp-dba
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-44.el5_10
Vendor:oraclelinuxphp-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-44.el5_10
Vendor:oraclelinuxphp-gd
Environments (1)
  • cpe:/o:oracle:linux:5
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:N
nvd · 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:N
redhat · 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:N
Red 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:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories42

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