[28489] in bugtraq
ipfilter denial of service problem
daemon@ATHENA.MIT.EDU (Yiming Gong)
Mon Jan 20 20:42:56 2003
From: "Yiming Gong" <yiming@security.zz.ha.cn>
To: <bugtraq@securityfocus.com>
Date: Mon, 6 Jan 2003 11:15:40 +0800
Message-ID: <001001c2b531$e43d1af0$f8ff1dda@penetrat>
MIME-Version: 1.0
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: 8bit
Below is an ipfilter security issue, and my previous mail to author
Darren was bounced back, so I think maybe I should mail it to this
mailing list.
Overview
--
Anytime ipfilter see a packet with ACK bit set without the previous SYN,
it will marked it as TCPS_ESTABLISHED in it's state table, and for
ipfilter will soon notice the RESET packet send back by the system
application, it will then change it's ttl in state table to 1 minute,OK,
it's good.
But If an attact send packet with ACK bit set and bad checksum, ipfilter
will happily add an "ESTABLISHED" session into it's state table which
will wait 120 hours to timeout instead of the normal 1 minutes!
So using this way an evil guy can easily destroy the network
connection of any system with ipfilter installed in a few minutes!
proof of concept
--
[yiming@security.zz.ha.cn]#hping -s ip.of.spoofedandtrusted.box -A
ip.of.target.box -p 22 -c 1 -b
you will immediately see a a long wait ttl of 120 hours, like this
security.zz.ha.cn,1235 server,22 4/0 tcp 1 40
119:59:48
Affected Versions:
--
I've test the following version of ipfilter
IP Filter: v3.4.30
IP Filter: v3.4.29 (400)
a chinese vesion of these security issue is at
http://security.zz.ha.cn
Best wishes!
--
我要更好的生活
Yiming Gong
Senior System Administrator
China Netcom
yiming@security.zz.ha.cn
http://security.zz.ha.cn
0086-371-7934907