Clientless SSL VPN products from multiple vendors operate in a way that breaks fundamental browser security mechanisms. An attacker could use these devices to bypass authentication or conduct other web-based attacks.
Clientless SSL VPNs provide browser-based access to internal and external resources without the need to install a traditional VPN client. Typically, these web VPNs are used to access intranet sites (such as an internal webmail server), but many have more capabilities, such as providing access to internal fileshares and remote desktop capabilities. To connect to a VPN, a web browser is used to authenticate to the web VPN, then the web VPN retrieves and presents the content from the requested pages.
If an attacker constructs a page that obfuscates the document.cookie element in such a way as to avoid being rewritten by the web VPN, then the document.cookie object in the returned page will represent all of the user's cookies for the web VPN domain. Included in this document.cookie are the web VPN session ID cookie itself and any globally unique cookies set by sites requested through the web VPN. The attacker may then use these cookies to hijack the user's VPN session and any other sessions accessed through the web VPN that rely on cookies for session identification.
Additionally, an attacker could construct a page with two frames: one hidden and one that displays a legitimate intranet site. The hidden frame could log all keys pressed in the second, benign frame and submit these keypresses as parameters to a XMLHttpRequest GET to the attacker's site, rewritten in web VPN syntax.
Note that if the VPN server is allowed to connect to arbitrary Internet sites, these vulnerabilities can be exploited by any site on the Internet.
By convincing a user to view a specially crafted web page, a remote attacker may be able to obtain VPN session tokens and read or modify content (including cookies, script, or HTML content) from any site accessed through the clientless SSL VPN. This effectively eliminates same origin policy restrictions in all browsers. For example, the attacker may be able to capture keystrokes while a user is interacting with a web page. Because all content runs at the privilege level of the web VPN domain, mechanisms to provide domain-based content restrictions, such as Internet Explorer security zones and the Firefox add-on NoScript, may be bypassed. For additional information about impacts, please see CERT Advisory CA-2000-02.
There is no solution to this problem. Depending on their specific configuration and location in the network these devices may be impossible to operate securely. Administrators are encouraged to view the below workarounds and see the systems affected section of this document for more information about specific vendors.
Limit URL rewriting to trusted domains
Any clientless, browser-based SSL VPN that proxies multiple domains as a single domain violates the same origin policy and is considered to be vulnerable. Vendors of such products are listed as "affected."
Check Point Software Technologies Affected
Cisco Systems, Inc. Affected
Juniper Networks, Inc. Affected
Microsoft Corporation Affected
Nortel Networks, Inc. Affected
OpenVPN Technologies Affected
Sun Microsystems, Inc. Affected
aep NETWORKS Affected
Computer Associates Not Affected
Extreme Networks Not Affected
Fedora Project Not Affected
Intel Corporation Not Affected
Internet Security Systems, Inc. Not Affected
Kerio Technologies Not Affected
McAfee Not Affected
Novell, Inc. Not Affected
PePLink Not Affected
Q1 Labs Not Affected
Red Hat, Inc. Not Affected
Webmin Not Affected
3com Inc Unknown
Avaya, Inc. Unknown
Barracuda Networks Unknown
Conectiva Inc. Unknown
D-Link Systems, Inc. Unknown
Debian GNU/Linux Unknown
DragonFly BSD Project Unknown
EMC Corporation Unknown
Engarde Secure Linux Unknown
Enterasys Networks Unknown
F5 Networks, Inc. Unknown
Force10 Networks, Inc. Unknown
Fortinet, Inc. Unknown
Foundry Networks, Inc. Unknown
FreeBSD, Inc. Unknown
Gentoo Linux Unknown
Global Technology Associates Unknown
Hewlett-Packard Company Unknown
IBM Corporation Unknown
IBM eServer Unknown
IP Filter Unknown
IP Infusion, Inc. Unknown
Luminous Networks Unknown
Mandriva S. A. Unknown
MontaVista Software, Inc. Unknown
Multitech, Inc. Unknown
NEC Corporation Unknown
Netgear, Inc. Unknown
Openwall GNU/*/Linux Unknown
Process Software Unknown
QNX Software Systems Inc. Unknown
RadWare, Inc. Unknown
Redback Networks, Inc. Unknown
SUSE Linux Unknown
Secureworx, Inc. Unknown
Silicon Graphics, Inc. Unknown
Soapstone Networks Unknown
The SCO Group Unknown
U4EA Technologies, Inc. Unknown
Watchguard Technologies, Inc. Unknown
Wind River Systems, Inc. Unknown
eSoft, Inc. Unknown
This issue was discovered by David Warren and Ryan Giobbi. Much of the original research into this issue was done by Michal Zalewski and Mike Zusman.
This document was written by David Warren and Ryan Giobbi.
|Date First Published:||2009-11-30|
|Date Last Updated:||2013-06-20 17:08 UTC|