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

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

缺陷编号:wooyun-2015-098691

漏洞标题:浪潮OA平台存在通用SQL注入(sa权限)导致Getshell

相关厂商:浪潮

漏洞作者: BMa

提交时间:2015-03-03 15:34

修复时间:2015-06-04 21:42

公开时间:2015-06-04 21:42

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:17

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-03: 细节已通知厂商并且等待厂商处理中
2015-03-06: 厂商已经确认,细节仅向厂商公开
2015-03-09: 细节向第三方安全合作伙伴开放
2015-04-30: 细节向核心白帽子及相关领域专家公开
2015-05-10: 细节向普通白帽子公开
2015-05-20: 细节向实习白帽子公开
2015-06-04: 细节向公众公开

简要描述:

浪潮OA平台存在通用SQL注入(sa权限)导致Getshell
大婶可别厚此薄彼

详细说明:

烦请注意与这个的区别: WooYun: 浪潮OA平台存在通用SQL注入(sa权限)导致Getshell
URL:/login/login.aspx
存在两个问题参数:
txtID
txtPassword
第一个:http://124.133.235.142/login/login.aspx

POST /login/login.aspx HTTP/1.1
Host: 124.133.235.142
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.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
X-Requested-With: XMLHttpRequest
X-Coolite: delta=true
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://124.133.235.142/login/
Content-Length: 853
Cookie: ASP.NET_SessionId=w3egrf45rm1fk1555u5xvy22
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
__EVENTTARGET=ScriptManager1&__EVENTARGUMENT=-%7Cpublic%7COnlogin&__VIEWSTATE=%2FwEPDwUKMTE1MzU4OTA4MA9kFgICAw9kFgYCAw8UKhJTeXN0ZW0uV2ViLlVJLlBhaXIBDwUJdnNNZW1iZXJzFCsAAQ8FBUl0ZW1zDwICFCsAAhQrBAEPBQRiYXNlFgQeBFRleHQFDOiTneiJsue7j%2BWFuB4FVmFsdWUFA3NzcxQrBAEPBQRiYXNlFgQfAAUM5qmY57qi5Zue5b%2BGHwEFA3Nzc2QCCQ8UKwQBDwUJdnNNZW1iZXJzFCsAAQ8FCUxpc3RlbmVycxQrAAEPBQVDbGljaxQrBAEPBQRiYXNlFgIeB0hhbmRsZXIFCExvZ2luKCk7ZAILDxQrBAEPBQl2c01lbWJlcnMUKwABDwUJTGlzdGVuZXJzFCsAAQ8FBUNsaWNrFCsEAQ8FBGJhc2UWAh8CBQhDbG9zZSgpO2QYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgYFDlNjcmlwdE1hbmFnZXIxBQlDb21ib0JveDEFBXR4dElEBQt0eHRQYXNzd29yZAUHQnV0dG9uMgUHQnV0dG9uM%2FB4pU%2Byh83Ponio8iDe5F0kQxAe&__EVENTVALIDATION=%2FwEWAgLgruunDgLB5eCpDa2284zfuLk8Q2lvFVPjrd9ACoo%2F&ComboBox1_Value=sss&ComboBox1=%E8%93%9D%E8%89%B2%E7%BB%8F%E5%85%B8&ComboBox1_SelIndex=0&txtID=a&txtPassword=b


1.jpg


第二个:http://oa.zoomber.cn/login/login.aspx

POST /login/login.aspx HTTP/1.1
Host: oa.zoomber.cn
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.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
X-Requested-With: XMLHttpRequest
X-Coolite: delta=true
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://oa.zoomber.cn/login/login.aspx
Content-Length: 811
Cookie: ASP.NET_SessionId=bsw1sens1jsxz045ga42fpji
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
__EVENTTARGET=ScriptManager1&__EVENTARGUMENT=-%7Cpublic%7COnlogin&__VIEWSTATE=%2FwEPDwUKMTE1MzU4OTA4MA9kFgICAw9kFgYCAw8UKhJTeXN0ZW0uV2ViLlVJLlBhaXIBDwUJdnNNZW1iZXJzFCsAAQ8FBUl0ZW1zDwICFCsAAhQrBAEPBQRiYXNlFgQeBFRleHQFDOiTneiJsue7j%2BWFuB4FVmFsdWUFA3NzcxQrBAEPBQRiYXNlFgQfAAUM5qmY57qi5Zue5b%2BGHwEFA3Nzc2QCCQ8UKwQBDwUJdnNNZW1iZXJzFCsAAQ8FCUxpc3RlbmVycxQrAAEPBQVDbGljaxQrBAEPBQRiYXNlFgIeB0hhbmRsZXIFCExvZ2luKCk7ZAILDxQrBAEPBQl2c01lbWJlcnMUKwABDwUJTGlzdGVuZXJzFCsAAQ8FBUNsaWNrFCsEAQ8FBGJhc2UWAh8CBQhDbG9zZSgpO2QYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgYFDlNjcmlwdE1hbmFnZXIxBQlDb21ib0JveDEFBXR4dElEBQt0eHRQYXNzd29yZAUHQnV0dG9uMgUHQnV0dG9uM0vAADmqoJr8kb%2FuTKWtoX7%2FUu6t&__EVENTVALIDATION=%2FwEWAgLampTNBwLB5eCpDccBPkup94QEPzPk9wedW18JVzfO&ComboBox1_Value=&ComboBox1=&ComboBox1_SelIndex=&txtID=a&txtPassword=b


2.jpg


第三个:61.142.113.219/login/login.aspx

POST /login/login.aspx HTTP/1.1
Host: 61.142.113.219
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.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
X-Requested-With: XMLHttpRequest
X-Coolite: delta=true
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://61.142.113.219/login/login.aspx
Content-Length: 841
Cookie: ASP.NET_SessionId=gcyhqvvfuc25fdrcnbqksa55
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
__EVENTTARGET=ScriptManager1&__EVENTARGUMENT=-%7Cpublic%7COnlogin&__VIEWSTATE=%2FwEPDwUKMTE1MzU4OTA4MA9kFgICAw9kFgYCAw8UKhJTeXN0ZW0uV2ViLlVJLlBhaXIBDwUJdnNNZW1iZXJzFCsAAQ8FBUl0ZW1zDwICFCsAAhQrBAEPBQRiYXNlFgQeBFRleHQFDOiTneiJsue7j%2BWFuB4FVmFsdWUFA3NzcxQrBAEPBQRiYXNlFgQfAAUM5qmY57qi5Zue5b%2BGHwEFA3Nzc2QCCQ8UKwQBDwUJdnNNZW1iZXJzFCsAAQ8FCUxpc3RlbmVycxQrAAEPBQVDbGljaxQrBAEPBQRiYXNlFgIeB0hhbmRsZXIFCExvZ2luKCk7ZAILDxQrBAEPBQl2c01lbWJlcnMUKwABDwUJTGlzdGVuZXJzFCsAAQ8FBUNsaWNrFCsEAQ8FBGJhc2UWAh8CBQhDbG9zZSgpO2QYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgYFDlNjcmlwdE1hbmFnZXIxBQlDb21ib0JveDEFBXR4dElEBQt0eHRQYXNzd29yZAUHQnV0dG9uMgUHQnV0dG9uMxvKNGYjLs%2B37pvwDo%2BokHr08Cqm&__VIEWSTATEGENERATOR=1806D926&__EVENTVALIDATION=%2FwEWAgLwhuH0CwLB5eCpDVdjW0PfnePJRcrLUgFRTozqkuIf&ComboBox1_Value=&ComboBox1=&ComboBox1_SelIndex=&txtID=a&txtPassword=b


3.jpg


第四个:http://oa.shinwa-mart.com/login/login.aspx

POST /login/login.aspx HTTP/1.1
Host: oa.shinwa-mart.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.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
X-Requested-With: XMLHttpRequest
X-Coolite: delta=true
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://oa.shinwa-mart.com/login/login.aspx
Content-Length: 841
Cookie: ASP.NET_SessionId=q1l0fx45f2axb445omwb2j55
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
__EVENTTARGET=ScriptManager1&__EVENTARGUMENT=-%7Cpublic%7COnlogin&__VIEWSTATE=%2FwEPDwUKMTE1MzU4OTA4MA9kFgICAw9kFgYCAw8UKhJTeXN0ZW0uV2ViLlVJLlBhaXIBDwUJdnNNZW1iZXJzFCsAAQ8FBUl0ZW1zDwICFCsAAhQrBAEPBQRiYXNlFgQeBFRleHQFDOiTneiJsue7j%2BWFuB4FVmFsdWUFA3NzcxQrBAEPBQRiYXNlFgQfAAUM5qmY57qi5Zue5b%2BGHwEFA3Nzc2QCCQ8UKwQBDwUJdnNNZW1iZXJzFCsAAQ8FCUxpc3RlbmVycxQrAAEPBQVDbGljaxQrBAEPBQRiYXNlFgIeB0hhbmRsZXIFCExvZ2luKCk7ZAILDxQrBAEPBQl2c01lbWJlcnMUKwABDwUJTGlzdGVuZXJzFCsAAQ8FBUNsaWNrFCsEAQ8FBGJhc2UWAh8CBQhDbG9zZSgpO2QYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgYFDlNjcmlwdE1hbmFnZXIxBQlDb21ib0JveDEFBXR4dElEBQt0eHRQYXNzd29yZAUHQnV0dG9uMgUHQnV0dG9uMxvKNGYjLs%2B37pvwDo%2BokHr08Cqm&__VIEWSTATEGENERATOR=1806D926&__EVENTVALIDATION=%2FwEWAgLwhuH0CwLB5eCpDVdjW0PfnePJRcrLUgFRTozqkuIf&ComboBox1_Value=&ComboBox1=&ComboBox1_SelIndex=&txtID=a&txtPassword=b


4.jpg


全部windows+mssql+sa权限
xpcmdshell开 NT系统权限
直接获取服务器权限

os.jpg


漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:14

确认时间:2015-03-06 21:41

厂商回复:

CNVD确认所述情况,转由CNVD按以往建立的联系渠道向厂商通报。

最新状态:

暂无


漏洞评价:

评论