From owner-freebsd-security@freebsd.org Fri Jan 12 01:20:47 2018 Return-Path: Delivered-To: freebsd-security@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D458E651EB; Fri, 12 Jan 2018 01:20:47 +0000 (UTC) (envelope-from brahma.gdb@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 031266F362; Fri, 12 Jan 2018 01:20:47 +0000 (UTC) (envelope-from brahma.gdb@gmail.com) Received: by mail-io0-x233.google.com with SMTP id f6so4085584ioh.8; Thu, 11 Jan 2018 17:20:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=NDD2NL/LGMovDOVELvVgnE0YC2VUnTwL7WVkKxCu5kM=; b=DsnKRJXjxEmR3wZXCCH9JmJATwAsDuDLhQjo3XBosQVPoILzoZInw+6i5+r+xdakNh LTnxd7lTQWJ5NgsrSZEidp7RPB/0e9qj8MKxExlx8xhOYmfMVAXDsRMU5eXgOAsWIQWk BwcArU8ebbg1WeVE6KnaxUzXsAG4PCn3n0bCWn/4XlJ89AX6cPRiS8lm9f/3hb0eUSQX XK/UP9O1GC+85NbG3uhaoGE26teNjYn/ZtBt0Uo8Yt3qDLxedZXs1jXwCcLFRDcElOd0 iBkIsEijSd5V4FWOwEW2DVFIG3Ce+TADtoueSgV5/DxZge0cNPgqCYqZmv2/wCUelBKx ZRoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=NDD2NL/LGMovDOVELvVgnE0YC2VUnTwL7WVkKxCu5kM=; b=PWTeM7///8clA+/V1n3KX0HvEk7QTq+it3p79iSaAlsTUDcHN7Qpq2KNhrJuLgWq8l h1ac7cxUz76NDEauKRYFQkwjuS2YXp7m8MzOhmjhusSer70MmzxTacbcjynfrzwaKh3Y bdvaalRtWUbGwjTAww/kWFH4aARsWPot6v8Sl0xgWMZQvp5s18L5mWwSYjrtAylswhkq 5HHp8RqveI+ZqHRoYLjgzsw9mo4GR89k4VrKE+EDJWPr9p2SG2zZJ0hpQcuWQFnQwYzY IjyLo9ZR1eOlxorqj0cIIUvPo4bhEVixBwZs+/kvaoH4Ix73qX0KiKDz/J5dui8LgtBr LfHg== X-Gm-Message-State: AKwxyteip0qfNgccEwt2U1C7BS6HhIsQru/YO3HKl5XtkeoVjJBAepi1 c9QluUqveHjgbvYtc+lgzG+OL++b87EhpxXT4UPmUCpj X-Google-Smtp-Source: ACJfBotOOg89Dszh6c58s+j5yiyOM5rmlH7MSUspxmGAlfDgorzXvGyfX/b3d6cvr4KijZ0zWCDecoUGlDghobhJjLI= X-Received: by 10.107.82.16 with SMTP id g16mr25450068iob.157.1515720046024; Thu, 11 Jan 2018 17:20:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.46.85 with HTTP; Thu, 11 Jan 2018 17:20:45 -0800 (PST) In-Reply-To: <20180111171545.GC68137@fc.opsec.eu> References: <20180111171545.GC68137@fc.opsec.eu> From: Brahmanand Reddy Date: Fri, 12 Jan 2018 06:50:45 +0530 Message-ID: Subject: Re: Need FreeBSD-SA-00:52(TCP uses weak initial sequence numbers) latest patch To: Postmaster Team , freebsd-security-owner@freebsd.org, FreeBSD-security@freebsd.org X-Mailman-Approved-At: Fri, 12 Jan 2018 01:54:59 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 01:20:47 -0000 Hi Kurt, Thanks lot responding my mail, Please explain why you think this should be an issue for FreeBSD 10.2 ? Currently i am using 10.2 and 10.4, i found this problem/vulnerability still exist using below script #!/usr/local/bin/python from scapy.all import * # VARIABLES src = str(input('IP SRC: ')) dst = str(input('IP DST: ')) sport = random.randint(1024,65535) dport = int(input("DST PORT: ")) # SYN ip=IP(src=src,dst=dst) SYN=TCP(sport=sport,dport=dport,flags='S',seq=random.randint(1024,1048576), ack=0) SYNACK=sr1(ip/SYN) print('Seq1 Number is :',SYNACK[TCP].seq) ==> Seq1 # RST RST=TCP(sport=sport, dport=dport, flags='R', seq=SYNACK.ack, ack=0) send(ip/RST) #SYN SYN2=TCP(sport=sport,dport=dport,flags='S',seq=random.randint(1024,1048576), ack=0) SYNACK2=sr1(ip/SYN2) print('Seq2 Number is :',SYNACK2[TCP].seq) ==> same ISN number i observed/receiving. I mean seq1=seq2, TCP ISN reusing. i think the patch is available on 10.4 on wards, but i dint found exactly/similar patch from https://www.freebsd.org/security/patches/ It could be great to confirm what is the corresponding latest patch this problem would be solved. Kindly correct me anything i am missing. Sincerely, Brahma On Thu, Jan 11, 2018 at 10:45 PM, Kurt Jaeger wrote: > Hi! > > > Please share the corresponding FreeBSD-SA-00:52(*TCP uses weak initial > > sequence numbers*) latest patch. > > > > the original problem reported on : > > https://www.freebsd.org/security/advisories/FreeBSD- > SA-00%3A52.tcp-iss.asc > > That's a security annoucement for FreeBSD 3.x to 5.x. > > Please explain why you think this should be an issue for FreeBSD 10.2 ? > > And, by the way: FreeBSD 10.2 is a old, no-longer supported version. > > https://www.freebsd.org/releases/ > > lists which versions are still supported. > > -- > pi@FreeBSD.org +49 171 3101372 2 years to go ! >