Rapid7 Vulnerability & Exploit Database

PHP 'error_log()' Safe Mode Bypass Weakness

Back to Search

PHP 'error_log()' Safe Mode Bypass Weakness

Severity
5
CVSS
(AV:L/AC:L/Au:N/C:P/I:P/A:P)
Published
06/26/2006
Created
07/25/2018
Added
06/26/2006
Modified
05/27/2016

Description

The error_log function in basic_functions.c in PHP before 4.4.4 and 5.x before 5.1.5 allows local users to bypass safe mode and open_basedir restrictions via a "php://" or other scheme in the third argument, which disables safe mode.

Solution(s)

  • php-upgrade-4_4_3
  • php-upgrade-5_1_5

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

;