🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7444

Bug#1156293: debian-edu-config: newly created GOsa² users can get previously used IDs

#7444
From: Mike Gabriel
Date: Fri, 04 Dec 2026 11:10
78 lines
4762 bytes
This message is in MIME format and has been PGP signed.

--=_mPBJREOMM2ACuu8WI5J10Ks
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: reassign #629623 debian-edu-config
Control: force-merge -1 #629623

Hi Serhii,

On  Do 03 Dez 2026 22:49:37 CET, Serhii Horichenko wrote:

> Package: debian-edu-config
> Version: 2.13.11~deb13u1
> Severity: normal
>
> New users must have new, unused IDs.
>
> Create a user account in GOsa=C2=B2 with the "Student" template:
>    - it creates the same-named group, i.e. " testuser " simultaneously
>    - the newly created user gets its own ID, i.e. 2001 (check it by
> `getent passwd <user name>`, or `id <user name>`)
>    - the newly created group gets its own ID, i.e. 2001 (check it by
> `getent group <group name>`, or `id <user name>`)
>
> If an administrator deletes the user (and their group) and creates a
> new one (i.e., "newest"), the new user and group get the same _OLD_
> IDs (2001).
>
> In this way, if the old home directory of user "testuser" was
> accidentally not removed (see #1156292), it can be a security issue,
> and the "newest" user can access the old "testuser" home directory
> with the same ID 2001.

Well spotted, this one. It has been reported years ago by Klaus Ade,=20=20
but=20against GOsa=C2=B2, not against Debian Edu. We should coordinate a fi=
x=20=20
for=20Debian Edu, so I am reassigning Klaus' old bug to d-e-c and merge=20=
=20
it=20with this one.

Mike
--=20

mike=20gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunweaver@debian.org, http://sunweavers.net


--=_mPBJREOMM2ACuu8WI5J10Ks
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmsSnqMACgkQmvRrMCV3
GzGDuQ/9FIB2/ft79OmBJF4iYUSXLYR3EQJ484dHQ6V5JQ48zfLd/yMjkaJJmLmH
Ev/e0EWN8ibTD4YTS9EUtsRd96KbiCZTgqlxN46lja5smYBZYbA9mCVtsh537Tbu
/vw6VRF2cnV/cvVxgxpFdXoq7BaRJ5PvetOHjpvZiDykpnMQeDpK8bEs5tP3gxIS
rBiJkwF1a03StLOGED2c+Bdn5FS3sEQbjSIU4zk0M0+Az9oP8CSQSlieQwSEGAMB
0WqoCtwLYSXnAjFnlwwKF+RmGY6MqIhuxHWQoA10wC95XZLindvbRBL62JfNoo5a
ow7bl6MMEUq+DW7AGiMk/hpI52DF4ndc6bYX7NmSomcO1cds/qsZ65xoP81u1Fs2
lonXthWWWC/KCo36xNdChWTjkaJDjsSefxy/t4CnNaTddyAYQijg4XZqSx/dBWfY
S8KxisGEUBZ/jBxAwFyY+p6F2qOvx1oy7wIE1zr0LJlN1oFZfviDaIAbpZnmmrqY
YA1dExS8s9PaCCCR0x5jze1VjGEoKqKz1aeVvLetxqh4Yls0xxmoy2n+vVzgh372
3nzmVzF/DjZOTd0QUzdmeKZqfqsANoU4NgYe4YAnjvb8xej5YdetmqG5gTj93VFe
JM+oTVdY5kib3UxwMrH4sn8zeaA24lnaaYHIbWcYDif5nAZc3m0=
=mRn5
-----END PGP SIGNATURE-----

--=_mPBJREOMM2ACuu8WI5J10Ks--
Technical Details
Message-ID: <O6zkR-fVmo-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O6zkR-fVmo-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Mike Gabriel <sunweaver@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156293: debian-edu-config: newly created GOsa² users can get previously used IDs
Date: Fri, 04 Dec 2026 12:10:01 +0100
Message-ID: <O6zkR-fVmo-1@gated-at.bofh.it>
References: <O6zkR-fVmo-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 11:09:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Mike Gabriel <sunweaver@debian.org>, 1156293@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-edu@lists.debian.org
X-Debian-Pr-Message: followup 1156293
X-Debian-Pr-Package: debian-edu-config
X-Debian-Pr-Source: debian-edu-config
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 185.211.18.149
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/156.0.0.0 Safari/537.36
Content-Type: multipart/signed; boundary="=_mPBJREOMM2ACuu8WI5J10Ks";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006910
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 78
Sender: robomod@news.nic.it
X-Original-Date: Fri, 04 Dec 2026 11:06:13 +0000
X-Original-Message-ID: <20261204110613.Horde.cIUd3b8ymZrR8gctkLEb98N@mail.das-netzwerkteam.de>
X-Original-References: <CAPu3mnxD6X=8gwRPU7nQUO8U+2c856WzCMjF4Q0mqnicwf0GcQ@mail.gmail.com>