fopen_wrappers.c in PHP 4.4.0, and possibly other...
Low severity
Unreviewed
Published
May 1, 2022
to the GitHub Advisory Database
•
Updated Apr 3, 2025
Description
Published by the National Vulnerability Database
Sep 26, 2005
Published to the GitHub Advisory Database
May 1, 2022
Last updated
Apr 3, 2025
fopen_wrappers.c in PHP 4.4.0, and possibly other versions, does not properly restrict access to other directories when the open_basedir directive includes a trailing slash, which allows PHP scripts in one directory to access files in other directories whose names are substrings of the original directory.
References