Vulnerability CVE-2018-7169: Information

Description

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.

Severity: MEDIUM (5.3) Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Published: Feb. 15, 2018
Modified: Oct. 3, 2019
Error type identifier: CWE-732

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
shadowsisyphus4.5-alt54.15.1-alt2ALT-PU-2019-2549-1236682Fixed
shadowsisyphus_e2k4.13-alt54.15.1-alt1ALT-PU-2023-3582-1-Fixed
shadowsisyphus_riscv644.13-alt34.15.1-alt2ALT-PU-2023-3318-1-Fixed
shadowp104.5-alt54.5-alt11ALT-PU-2019-2549-1236682Fixed
shadowp94.5-alt54.5-alt8ALT-PU-2019-2619-1236683Fixed
shadowc10f14.5-alt54.5-alt9ALT-PU-2019-2549-1236682Fixed
shadowc9f24.5-alt54.5-alt5ALT-PU-2019-2619-1236683Fixed
shadowp114.5-alt54.15.1-alt1ALT-PU-2019-2549-1236682Fixed

References to Advisories, Solutions, and Tools

Hyperlink
Resource
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357
  • Exploit
  • Issue Tracking
  • Third Party Advisory
GLSA-201805-09
  • Third Party Advisory
    1. Configuration 1

      cpe:2.3:a:shadow_project:shadow:4.5:*:*:*:*:*:*:*