Home page logo

bugtraq logo Bugtraq mailing list archives

Our old friend Firewall-1
From: cbrenton () SOVER NET (Chris Brenton)
Date: Sat, 11 Mar 2000 21:28:59 -0500

Greetings all,

The Dartmouth Collage security group has uncovered a problem with
Firewall-1 which could lead to the protected site handing out more IP
address info than intended.

Under certain nominal load conditions (CPU less than 40%, 200+ active
sessions) Firewall-1 will begin "leaking" packets with their private
address information in tact. The result is that the receiving site will
receive a SYN=1 that it will be unable to respond to. Once the client
attempts a resend, the target network (or anyone in the middle) can use
the source port information to enumerate the client's true IP address.

Here is a Snort trace which has been sanitized and formatted for easier
Mar  9 14:01:19 -> SYN **S*****
Mar  9 14:01:48 -> SYN **S*****

Mar  9 14:04:35 -> SYN **S*****
Mar  9 14:05:05 -> SYN **S*****

Mar  9 14:23:25 -> SYN **S*****
Mar  9 14:23:51 -> SYN **S*****

So the first packet goes out with the private address information still
in place and SYN=1. When the client does not receive a reply, it
retransmits the SYN=1. Since FW-1 considers this to be part of the same
session, the same source port number is assigned. If the second packet
gets translated properly (as in these traces) the source port info can
potentially be used to map the legal IP address to the private address.

Of course the problem here is that a would be bad guy now knows the
client's true IP address. If enough hosts are recorded, its possible
that most of the internal network address space could be enumerated.

This problem has been noted on Firewall-1 versions 3.0b & 4.0. 4.1 has
not been checked but its expected that the same problem may exist. We
where able to reproduce the problem on a Nokia IP440 and NT. I've seen
this problem on Solaris 2.6 as well, but do not have the data to back up
the statement.

A quick fix is to apply egress filtering to the border router and block
all private addressing that attempts to leak though. A how-to on egress
can be found at:

Cheers all,

cbrenton () sover net

* Multiprotocol Network Design & Troubleshooting
* Mastering Network Security

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]