From owner-freebsd-security@FreeBSD.ORG Sun Oct 27 17:58:46 2013 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA5EEA78; Sun, 27 Oct 2013 17:58:46 +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 7E6A42392; Sun, 27 Oct 2013 17:58:46 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id A04EF67DE; Sun, 27 Oct 2013 17:58:45 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id D5216D7A; Sun, 27 Oct 2013 18:58:45 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Carlo Strub Subject: Re: OpenPAM/SSHD privacy hole (FreeBSD 9.2+ affected) References: <20131023135408.38752099@azsupport.com> <1382529986.729788.498652166.90148.2@c-st.net> Date: Sun, 27 Oct 2013 18:58:45 +0100 In-Reply-To: <1382529986.729788.498652166.90148.2@c-st.net> (Carlo Strub's message of "Wed, 23 Oct 2013 14:06:26 +0200") Message-ID: <86y55emw8a.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-security@freebsd.org, az@azsupport.com X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Oct 2013 17:58:46 -0000 Carlo Strub writes: > Andrei writes: >> I found that in the new FreeBSD 9.2 (probably in 10 also) updated >> OpenPAM sources. The big embarrassment was in pam_get_authtok.c. The >> problem is that even without a valid SSH login it's possible to know >> the server's hostname. > I agree. That looks like an unnecessary privacy violation to me. What > do you think des@? No. This is intentional, and I will not change it. If you don't like it, you can override the default prompt in your PAM policy; see the pam_get_authtok() man page for details. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no