Tivoli SecureWay Policy Director vulnerability
by phiber on July 23rd, 2001 Web Seal Policy director does not handle URLs in hex code correct. It is possible to perform web traversals by appending %2e, to access the underlying web server. It is possible to view all files on the server and exploit some of the web server vulnerabilities.
Affected Software:
This exposure exists on Tivoli SecureWay Policy Director versions 3.01, 3.6, 3.7 and 3.7.1.
Platform:
This exposure only occurs on the Tivoli SecureWay Policy Director WebSEAL proxy server, running on any of the Web server operating systems, which consist of: HP-UX,IBM AIX, Sun Solaris, Microsoft Windows NT, or Windows 2000.
Vulnerability Description
The IBM/Tivoli Web Seal Policy director is supposed to gather all directories on several web servers that users are allowed to access and present them as a logical web server. The policy director is supposed to seal users into pre-defined directories on the web server according to the company policy. If you make connections to the web server on port 80 the Web Seal is answering and tries to lock you into the pre-defined directory.
By appending /%2e%2e/%2e%2e you are escaping the policy director and are able to perform directory traversals and viewing most files on the system as well as be able to exploit vulnerabilities in the web server. iXsecurity was able to exploit the good old RDS vulnerability by patching Rain Forest Puppys' msadc.pl script (www.wiretrip.net/rfp).
Solution:
Install the patch for Tivoli SecureWay Policy Director.
This patch may be downloaded as follows:
For registered users, please visit
http://www.tivoli.com/support/downloads/
For all other users, please access the FTP server:
For version 3.01
ftp://ftp.tivoli.com/support/patches/patches_3.0.1/3.0.1-POL-0001
For version 3.6
ftp://ftp.tivoli.com/support/patches/patches_3.6/3.6-POL-0011
For version 3.7
ftp://ftp.tivoli.com/support/patches/patches_3.7.1/3.7.1-POL-0003
For version 3.7.1
ftp://ftp.tivoli.com/support/patches/patches_3.7.1/3.7.1-POL-0003
This vulnerability was found during a PenTest by
Patrik Karlsson and Rikard Carlsson
[email protected]
[email protected]