From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 25 23:10:16 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 158D616A4CE for ; Sun, 25 Jul 2004 23:10:16 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E69CE43D41 for ; Sun, 25 Jul 2004 23:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6PNAFmg036243 for ; Sun, 25 Jul 2004 23:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6PNAFwX036242; Sun, 25 Jul 2004 23:10:15 GMT (envelope-from gnats) Resent-Date: Sun, 25 Jul 2004 23:10:15 GMT Resent-Message-Id: <200407252310.i6PNAFwX036242@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Timothy Radigan Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A0C616A4CE for ; Sun, 25 Jul 2004 23:01:06 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FAE143D1F for ; Sun, 25 Jul 2004 23:01:06 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6PN16e9063936 for ; Sun, 25 Jul 2004 23:01:06 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i6PN16AH063934; Sun, 25 Jul 2004 23:01:06 GMT (envelope-from nobody) Message-Id: <200407252301.i6PN16AH063934@www.freebsd.org> Date: Sun, 25 Jul 2004 23:01:06 GMT From: Timothy Radigan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/69596: When logging in or su'ing to root, I noticed that if you type the correct password but add characters to the end of the correct password, the password still passes validation and allows you to login X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2004 23:10:16 -0000 >Number: 69596 >Category: misc >Synopsis: When logging in or su'ing to root, I noticed that if you type the correct password but add characters to the end of the correct password, the password still passes validation and allows you to login >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 25 23:10:15 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Timothy Radigan >Release: 5.1 >Organization: New Revolutions >Environment: FreeBSD nr-fbsd-01.newrevolutions.net 5.1-RELEASE-p16 FreeBSD 5.1-RELEASE-p16 #2: Sat May 15 14:35:21 EDT 2004 radigan@nr-fbsd-01.newrevolutions.net:/usr/obj/usr/src/sus/nr-fbsd-01 i386 >Description: When logging into my FreeBSD server, I logged on as my regular user and typed the password correctly but added a few extra characters after I entered my password. Suprisingly, the machine let me in. I tried to log in with a completely wrong password and it denied access. This problem also occurs when su'ing to root. I type su, then type the password (correctly) and add extra characters on the end and it granted me root access. >How-To-Repeat: Log in using an account, type the correct password and a few extra characters after the correct password and try to log in. You will be validated and access is granted. >Fix: >Release-Note: >Audit-Trail: >Unformatted: