CWE Code: 732
Vulnerability Type: privilege_escalation
CVSS Score: 4.6
CWE Name:  Incorrect Permission Assignment for Critical Resource
Summary: 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.
Access Authentication: NONE
Access Complexity: LOW
Access Vector: LOCAL
Impact (C/I/A): PARTIAL/PARTIAL/PARTIAL
Published Date: 2018-09-26
Last Modified Date: 2019-10-03