From owner-freebsd-security@FreeBSD.ORG Sun Oct 27 21:50:20 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 2B804A13 for ; Sun, 27 Oct 2013 21:50:20 +0000 (UTC) (envelope-from az@azsupport.com) Received: from as1.azsupport.com (azsupport.com [74.52.186.194]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0EE0B2F4C for ; Sun, 27 Oct 2013 21:50:19 +0000 (UTC) Received: from localhost (unknown [109.75.144.107]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by as1.azsupport.com (Postfix) with ESMTPSA id 92CF63C5; Sun, 27 Oct 2013 22:50:18 +0100 (CET) Date: Sun, 27 Oct 2013 22:50:16 +0100 From: Andrei To: freebsd-security@freebsd.org, des@des.no Subject: Re: OpenPAM/SSHD privacy hole (FreeBSD 9.2+ affected) Message-ID: <20131027225016.3cdab10e@azsupport.com> In-Reply-To: <86txg2mm9n.fsf@nine.des.no> References: <20131023135408.38752099@azsupport.com> <1382529986.729788.498652166.90148.2@c-st.net> <86y55emw8a.fsf@nine.des.no> <20131027195755.00b0cb2c@azsupport.com> <86txg2mm9n.fsf@nine.des.no> Organization: azsupport.com X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) 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.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 21:50:20 -0000 On Sun, 27 Oct 2013 22:33:56 +0100 Dag-Erling Sm=C3=B8rgrav wrote: > Andrei writes: > > In /etc/pam.d/sshd from: > > auth required pam_unix.so no_warn > > try_first_pass to: > > auth required pam_unix.so no_warn try_first_pass authtok_prompt > > > > Right? >=20 > auth required pam_unix.so no_warn try_first_pass > authtok_prompt=3D"Password:" >=20 > BTW, I recently noticed that try_first_pass doesn't work as documented > (and hasn't for ten years), but I haven't had time to fix it yet. You might be surprised, but authtok_prompt=3D"Password:" have same results = as just authtok_prompt. Empty screen and no "Password:" prompt. FreeBSD 9.2 tested. Kind regards, Andrei.