博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
McAfee Web Gateway And Squid Proxy 3.1.19 Bypass
阅读量:2434 次
发布时间:2019-05-10

本文共 1672 字,大约阅读时间需要 5 分钟。

# Exploit Title: Proxy URL Filtering Bypass

# Date: 13/04/2012
# Author: Gabriel Menezes Nunes
# Version: McAfee Web Gateway and Squid Proxy
# Tested on: McAfee Web Gateway and Squid Proxy 3.1.19
# CVE: CVE-2012-2212 and CVE-2012-2213
I found a vulnerability in McAfee Web Gateway 7 and Squid Proxy that allows access to filtered sites.
The appliance/software believes in the Host field of HTTP Header using CONNECT method.
Example
CONNECT 66.220.147.44:443 HTTP/1.1
Host: www.facebook.com
It is blocked.
CONNECT 66.220.147.44:443 HTTP/1.1 (without host field)
It is blocked.
But:
CONNECT 66.220.147.44:443 HTTP/1.1
Host: www.uol.com.br (allowed url)
The connection works.
From here, I can send SSL traffic without a problem. This way, I can access any blocked site that allows SSL connections.
Others test that I did is convert GET methods in CONNECT methods.
GET http://www.facebook.com HTTP/1.1
Host: www.facebook.com
in
CONNECT 66.220.147.44:80 HTTP/1.1
Host: www.uol.com.br
It will connect.
and after it is possible to send the GET packets. It will work!
This vulnerability is different from the CONNECT Tunnel method. The flaw is on the Host field processing. The appliance believes on this field.
So, any sites can be accessed. URL filtering in this device/software is irrelevant and useless. 
One of the most important (if not the most important) feature of this kind of device is to protect the network in accessing specific URLs. So, this flaw is very dangerous, and it can be implemented even in malwares, bypassing any protection.
I developed a python script that acts like a proxy and it uses this flaw to access any site. 
This tool is just a proof of concept.

转载地址:http://rphmb.baihongyu.com/

你可能感兴趣的文章
面向企业的云计算—了解云的一些基本概念
查看>>
实现基于角色的授权
查看>>
使用定制工作流程更新 RSS 数据源
查看>>
使用 WebSphere Business Modeler 进行业务建模
查看>>
SOA 案例研究:Web 2.0 SOA 场景
查看>>
IBM BPM BlueWorks:一次 WebSphere 云试验
查看>>
websphere笔记
查看>>
使用 WebSphere Process Server 关系开发集成解决方案(2)
查看>>
最新最全的Portlet 通信过程详解
查看>>
在LINUX中安装WEB SPHERE5.1的正确方法
查看>>
WebSphere简单故障排查
查看>>
ITCAM for Websphere v6.0与ITM v6.1集成的快速指南
查看>>
数据泵 TTS(传输表空间技术)
查看>>
weblogic管理2 - 创建并启动一个managed server
查看>>
linux下开机自动开启单机oracle
查看>>
weblogic管理1——创建 和 删除一个domain
查看>>
SQL开发--经典建议(转载)和大家分享
查看>>
网络上经典的DOS小命令(转)
查看>>
sqlserver中的一些技巧(转)
查看>>
简化Windows 2003域控制器密码(转)
查看>>