CVE-2018-16588 Privilege escalation can occur in the SUSE useradd.c code in useradd, as distributed in the SUSE shadow package through 4.2.1-27.9.1 for SUSE Linux Enterprise 12 (SLE-12) and through 4.5-5.39 for SUSE...
HighCVSS 7.8
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Privilege escalation can occur in the SUSE useradd.c code in useradd, as distributed in the SUSE shadow package through 4.2.1-27.9.1 for SUSE Linux Enterprise 12 (SLE-12) and through 4.5-5.39 for SUSE Linux Enterprise 15 (SLE-15). Non-existing intermediate directories are created with mode 0777 during user creation. Given that they are world-writable, local attackers might use this for privilege escalation and other unspecified attacks. NOTE: this would affect non-SUSE users who took useradd.c code from a 2014-04-02 upstream pull request; however, no non-SUSE distribution is known to be affected.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| SUSE shadow | <= 4.2.1-27.9.1 | No fix listed |
| SUSE shadow | <= 4.5-5.39 | No fix listed |
References
- openSUSE-SU-2018:2852 vendor-advisory
- Debian Security Tracker CVE-2018-16588 vendor-advisory