From nobody Tue May 07 05:37:48 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VYRrD3CHlz5K38j for ; Tue, 07 May 2024 05:37:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VYRrD223Zz47TZ for ; Tue, 7 May 2024 05:37:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715060268; a=rsa-sha256; cv=none; b=QmopFAJTHyKs92Q+H2dkebFxJn6FdpWsVKsAKHVHmw2wdqoFl8m3WXm4lrPsd/ZKbm1UDT N4coacAOkhK1BIBhNOGqW54qDBjcloCIiHRKOd8+DkVIbr/ZxmMBFLawNlMhZSwqgfEvPB ok/LD2UAy2S/OP/gblMEdxniXXoT3ktLu0GgYZXXpk930ehJOj20XElR1YeIc926cmzZdM vJIebY1/ltGApd2Cnf/AM4DDLsGQOcvr0C6aUcUbL2MVAJTdu5dCUUMYNv1pgSvugJt6Kx YNA0kTSg6nm0ejpRa6vFI7qoUqNDey8Y7Q7+LCs2Kj8/RxUUwUp53AZ+V9JW5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715060268; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Cs6pceYkZM4RNlBfHcemdBXFcOuOowuRXxhLIM21730=; b=dvJO9n+2/6OjqhvHJUdW0Els4udPUIq5NVa6FWlAmSnUmMJqbqEO02FaocrLnDZoV7LkV2 h5fFgT7KmWN9XMYTxRGyimXse0s/wPBqg8Bz6v2/aiLz0FegeQfEI0zb8rkwVRzVhY1xen rY4bhDH3RBeHqLCpht2mjXMa4DOnxhKCm2idNlciTJ9aQzTIWjwP/Zsd7Ruzl+9G1D668J Tcbnl1s5jwqOVcPMwXmJxSix1bX5DO/i64NtMICUAmERNKNR8DcGOpxtqLna0QcnxSqhHe P2LpqlLqKaiapPAXQSMwTfc1bCjQPzUvhaqWlNtai/v9XFcZtUrMyErjPgOceA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VYRrD1dgbzTHL for ; Tue, 7 May 2024 05:37:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4475bm4u015762 for ; Tue, 7 May 2024 05:37:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4475bmHY015761 for bugs@FreeBSD.org; Tue, 7 May 2024 05:37:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278827] fingerd(8): Avoid account leakage due to username ambiguity (RFC 1288) Date: Tue, 07 May 2024 05:37:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@jmarshall.id.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278827 Bug ID: 278827 Summary: fingerd(8): Avoid account leakage due to username ambiguity (RFC 1288) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: john@jmarshall.id.au Created attachment 250500 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250500&action= =3Dedit [PATCH] Add -m option to fingerd.c, fingerd.8, inetd.conf PATCH ----- The attached patch adds a new option to fingerd(8) in the following files. Given the -m option, fingerd(8) will pass the -m option to finger(1) to ens= ure strict username matching to avoid leaking details of multiple accounts aris= ing from partial matches on username and GECOS fields. This provides the RECOMMENDED administrator option mentioned in RFC 1288. - fingerd.c - fingerd.8 - inetd.conf RFC 1288 -------- 2.5.3. {U} ambiguity Allowable "names" in the command line MUST include "user names" or "login names" as defined by the system. If a name is ambiguous, the system administrator SHOULD be allowed to choose whether or not all possible derivations should be returned in some fashion (per section 3.2.6). STYLE ----- I wanted to re-work fingerd.8 to re-order and format options as per style(9= ), but that same document seems to discourage 'stylistic changes'. I'm happy t= o do the work if that's permissible. SEE ALSO -------- The patch included with bug #39463 appears to include this functionality but has been left to rot. I'm hoping that a single-issue patch might get this through. --=20 You are receiving this mail because: You are the assignee for the bug.=