From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#37744: Per-user profile directory hijack (CVE-2019-17365 for Nix) Date: Wed, 16 Oct 2019 08:57:05 +0200 Message-ID: <8736fttby6.fsf@gnu.org> References: <87o8yjsr8o.fsf@gnu.org> <87blujsqq0.fsf@gnu.org> <87y2xno85o.fsf@nckx> <87d0eyuqzd.fsf@gnu.org> <87mue2nkrj.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33071) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKdFy-0008UF-Py for bug-guix@gnu.org; Wed, 16 Oct 2019 02:58:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKdFx-0006cK-ON for bug-guix@gnu.org; Wed, 16 Oct 2019 02:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36301) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKdFx-0006c8-LV for bug-guix@gnu.org; Wed, 16 Oct 2019 02:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iKdFx-0005Md-JL for bug-guix@gnu.org; Wed, 16 Oct 2019 02:58:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mue2nkrj.fsf@nckx> (Tobias Geerinckx-Rice's message of "Tue, 15 Oct 2019 16:31:40 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Tobias Geerinckx-Rice Cc: 37744@debbugs.gnu.org, guix-security@gnu.org Hi Tobias, Tobias Geerinckx-Rice skribis: > No, I ask it nicely: =E2=80=98hullo daemon, I'm, er, "ludo"=E2=80=99. > > Of course the remote daemon doesn't trust me beyond pre-creating an > empty per-user directory owned by the local "ludo" user only if such a > user exists. It doesn't even report succes or failure to avoid > leaking valid user names. Ah you=E2=80=99re right, the worst that can happen is that an empty directo= ry is created for someone else. Sounds like a plan. Ludo=E2=80=99.