shadow: CVE-2018-7169: unprivileged user can drop supplementary groups

Related Vulnerabilities: CVE-2018-7169  

Debian Bug report logs - #890557
shadow: CVE-2018-7169: unprivileged user can drop supplementary groups

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Thu, 15 Feb 2018 21:33:01 UTC

Severity: important

Tags: security, upstream

Found in versions shadow/1:4.4-4.1, shadow/1:4.2-3, shadow/1:4.5-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, secure-testing-team@lists.alioth.debian.org, team@security.debian.org, Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>:
Bug#890557; Package src:shadow. (Thu, 15 Feb 2018 21:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, secure-testing-team@lists.alioth.debian.org, team@security.debian.org, Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>. (Thu, 15 Feb 2018 21:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: shadow: CVE-2018-7169: unprivileged user can drop supplementary groups
Date: Thu, 15 Feb 2018 22:30:09 +0100
Source: shadow
Version: 1:4.5-1
Severity: important
Tags: security upstream

Hi,

the following vulnerability was published for shadow.

CVE-2018-7169[0]:
| An issue was discovered in shadow 4.5. newgidmap (in shadow-utils) is
| setuid and allows an unprivileged user to be placed in a user namespace
| where setgroups(2) is permitted. This allows an attacker to remove
| themselves from a supplementary group, which may allow access to
| certain filesystem paths if the administrator has used "group
| blacklisting" (e.g., chmod g-rwx) to restrict access to paths. This
| flaw effectively reverts a security feature in the kernel (in
| particular, the /proc/self/setgroups knob) to prevent this sort of
| privilege escalation.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2018-7169
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7169
[1] https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357


Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Marked as found in versions shadow/1:4.4-4.1. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Thu, 15 Feb 2018 21:39:06 GMT) (full text, mbox, link).


Marked as found in versions shadow/1:4.2-3. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Thu, 15 Feb 2018 21:39:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 19 13:34:41 2019; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.