Skip to content

PHP before 5.3.4 accepts the \0 character in a pathname,...

Moderate severity Unreviewed Published May 1, 2022 to the GitHub Advisory Database • Updated Jan 31, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

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.

References

Published by the National Vulnerability Database Jan 18, 2011
Published to the GitHub Advisory Database May 1, 2022
Last updated Jan 31, 2023

Severity

Moderate

EPSS score

0.824%
(82nd percentile)

Weaknesses

CVE ID

CVE-2006-7243

GHSA ID

GHSA-qxh9-g3ww-hcvc

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.