exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

checkpoint-fw1-proxy-auth.txt

checkpoint-fw1-proxy-auth.txt
Posted Sep 20, 2002
Authored by Mark van Gelder

The Check Point VPN-1/FireWall-1 4.1 and NG HTTP Security Server (in.ahttpd) can be used to proxy all kinds of different protocols. Since it is not possible to select the allowed protocols, this is considered a security risk.

tags | web, protocol
SHA-256 | a9b9e181e4d501629c8a297037d7956bcee7d444aaac7a7518d443cb31c01469

checkpoint-fw1-proxy-auth.txt

Change Mirror Download


('binary' encoding is not supported, stored as-is) Firewall-1 -HTTP Security Server - Proxy vulnerability

Versions affected: Checkpoint FW-1 Version 4.1 and NG (confirmed by
Checkpoint)
Versions tested: Checkpoint FW-1 Version 4.1 (SP5 and SP6)

Summary:

When using an ?out the box? installation of FW-1 with a rule base of:

Source Destination Service Action Track
AllUsers@SomeNet webserver http UserAuth Long Allow Auth HTTP
Any firewall Any drop Long Stealth Rule
Any Any Any drop Long CleanUp Rule

Configuring the browser to proxy traffic as follows can enable a client
browser to pass HTTPS and FTP traffic through the FW-1 enforcement point
(even though only HTTP is allowed by the rule base):

Type Proxy Address Port
HTTP firewall 80
Secure firewall 80
FTP firewall 80

Detail:

When using an action of UserAuth in Firewall-1 (even without using a
resource), the traffic is handled by the Security Servers, in this case
the HTTP Security Server (in.ahttpd).

It appears that the default for the HTTP Security server is to allow any
traffic that is proxied through the server (i.e. HTTP, HTTPS and FTP).

If one specifically uses a URI Resource you are presented with the option
to choose what Schemes (http, ftp, gopher, mailto, news, wais, Other) and
Methods (GET, POST, HEAD, PUT, Other) etc you wish to allow.

This option is not available for the HTTP service on its own.

This same issue can be applied to an HTTPS service by following the
instructions for Authenticating outbound HTTPS (See VPN-1/Firewall-1
Administration Guide page 504).

This will enable an HTTP Security server on TCP:443. The client proxies
are then set to Port 443 and the traffic is passed in this way.

When using SP6, the behavior exhibited is slightly improved (due to the
changes as outlined in the SP6 Release Notes (July 23, 2002). Under Known
Limitations point 9, page 4. ?The HTTP Security Server handles proxy and
tunneled connection requests differently than earlier FireWall-1 versions??

With a default SP6 install, trying to access an HTTPS site via an HTTP
only rule will fail, with an incorrect error message in the Log File,
however FTP access still succeeds.

Also, making the change (http_connection_method_tunneling (true) reverts
the module to the SP5 (and earlier) behavior.

Impact:
Since the issue outlined above requires that a user be authenticated, the
impact is likely to be small in most cases.

However, certain installations may require that certain users be allowed
restricted access to certain environments (such as DMZ?s etc).

With the current default functionality in FW-1 the expected access
restrictions are not going to apply.

Solution:

The only solution that comes to mind is to use Resources for ALL UserAuth
rules and in this way have the ability to manually configure the required
access and limit access for unwanted methods etc. When using a resource
this ?functionality? is disabled by default. Using
the ?Tunneling? ?connection Method? in the resource can enable it.

This requirement is enforced when running a fixed version from Checkpoint.

Current Status with Vendor:

Checkpoint have raised the following CR?s:

CR00073948, for FireWall-1 version 4.1 SP6
CR00073595, for FireWall-1 version NG FP2

Checkpoint have developed a Hotfix to resolve this issue. The HotFix
disallows client proxy connections to UserAuth rules which do not make use
of resources by default. This behaviour can be overcome by manually
changing options in the objects.C file.

By: Mark van Gelder.
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    44 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close