Rapid7 Vulnerability & Exploit Database

PHP open_basedir Restriction Bypass Vulnerability

Back to Search

PHP open_basedir Restriction Bypass Vulnerability

Severity
2
CVSS
(AV:L/AC:L/Au:N/C:P/I:N/A:N)
Published
09/26/2005
Created
07/25/2018
Added
09/28/2005
Modified
02/13/2015

Description

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.

Solution(s)

  • php-upgrade-4_4_1
  • php-upgrade-5_1_0

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;