From owner-freebsd-security@freebsd.org Tue Jan 23 22:18:31 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 B954DECB084 for ; Tue, 23 Jan 2018 22:18:31 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 817C4721B5 for ; Tue, 23 Jan 2018 22:18:31 +0000 (UTC) (envelope-from des@des.no) Received: from desk.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id 4777F103B0; Tue, 23 Jan 2018 22:18:30 +0000 (UTC) Received: by desk.des.no (Postfix, from userid 1001) id D9A88867A4; Tue, 23 Jan 2018 22:18:29 +0000 (UTC) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Roger Marquis Cc: freebsd-security@freebsd.org Subject: Re: Malicious URL ? https://[::]/ References: <86wp08fcil.fsf@desk.des.no> Date: Tue, 23 Jan 2018 23:18:29 +0100 In-Reply-To: <86wp08fcil.fsf@desk.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8r?= =?utf-8?Q?grav=22's?= message of "Tue, 23 Jan 2018 23:14:58 +0100") Message-ID: <86shawfccq.fsf@desk.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Tue, 23 Jan 2018 22:18:31 -0000 Dag-Erling Sm=C3=B8rgrav writes: > Basically the IPv6 equivalent of https://127.0.0.1/. =E2=80=9C[::]=E2=80= =9D is the > bracketed literal representation of the IPv6 localhost address. Hang on a sec =E2=80=94 localhost should be [::1], not [::], which is the equivalent of 0.0.0.0. My guess is a software bug. Jails look a little weird from the inside unless you use a fully virtualized network stack. The proxy probably doesn't have sufficient error checking around getpeername() or something like that. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no