DescriptionPrivilege 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.
Overall state of this security issue: Resolved
This issue is currently rated as having moderate severity.
|National Vulnerability Database|
|National Vulnerability Database||SUSE|
- openSUSE-SU-2018:2852-1, published Tue, 25 Sep 2018 15:10:22 +0200 (CEST)
- openSUSE-SU-2018:2885-1, published Wed, 26 Sep 2018 18:28:27 +0200 (CEST)
List of released packages
|Product(s)||Fixed package version(s)||References|
|openSUSE Leap 15.0|| ||Patchnames:
|openSUSE Leap 42.3|| ||Patchnames:
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.
|CaaS Platform 2.0||shadow||Released|
|CaaS Platform 3.0||shadow||Released|
|OpenStack Cloud Magnum Orchestration 7.0||shadow||Released|
|SUSE Linux Enterprise Desktop 12 SP3||shadow||Released|
|SUSE Linux Enterprise Module for Basesystem 15 GA||shadow||Released|
|SUSE Linux Enterprise Server 12 SP2 LTSS||shadow||Affected|
|SUSE Linux Enterprise Server 12 SP3||shadow||Released|