[] NeoSense

PHP 4.x - 'copy() Safe_Mode' Bypass

Author: Maksymilian Arciemowicz
type: remote
platform: php
port: 
date_added: 2006-04-10 
date_updated: 2013-08-15 
verified: 1 
codes: CVE-2006-1608;OSVDB-24487 
tags: 
aliases:  
screenshot_url:  
application_url: 

source: https://www.securityfocus.com/bid/17439/info

PHP is prone to multiple 'safe_mode' and 'open_basedir' restriction-bypass vulnerabilities. Successful exploits could allow an attacker to access sensitive information or to write files in unauthorized locations.

These vulnerabilities would be an issue in shared-hosting configurations where multiple users can create and execute arbitrary PHP script code, when the 'safe_mode' and 'open_basedir' restrictions are expected to isolate the users from each other.

These issues are reported to affect PHP versions 4.4.2 and 5.1.2; other versions may also be vulnerable.

copy("compress.zlib:///etc/passwd", "/home/<username>/passwd.txt");