Upstream information

CVE-2018-16588 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.6
Vector AV:L/AC:L/Au:N/C:P/I:P/A:P
Access Vector Local
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.8 6.6
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Access Vector Local Local
Access Complexity Low Low
Privileges Required Low Low
User Interaction None Required
Scope Unchanged Unchanged
Confidentiality Impact High None
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3 3
SUSE Bugzilla entry: 1106914 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
openSUSE Leap 15.0
  • shadow >= 4.5-lp150.6.3.1
  • shadow-debuginfo >= 4.5-lp150.6.3.1
  • shadow-debugsource >= 4.5-lp150.6.3.1
Patchnames:
openSUSE-2019-721


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.

Product(s) Source package State
HPE Helion OpenStack 8 shadow In progress
Magnum Orchestration shadow Released
SUSE CaaS Platform 3.0 shadow Released
SUSE CaaS Platform 4.0 shadow Already fixed
SUSE Container as a Service Platform 2.0 shadow Released
SUSE Enterprise Storage 6 shadow Already fixed
SUSE Linux Enterprise Desktop 12 SP3 shadow Released
SUSE Linux Enterprise High Performance Computing 15 LTSS shadow In progress
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS shadow Already fixed
SUSE Linux Enterprise Module for Basesystem 15 shadow Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 shadow Already fixed
SUSE Linux Enterprise Server 12 SP2 BCL shadow In progress
SUSE Linux Enterprise Server 12 SP2 LTSS shadow Affected
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON shadow In progress
SUSE Linux Enterprise Server 12 SP2 LTSS SAP shadow In progress
SUSE Linux Enterprise Server 12 SP3 shadow Released
SUSE Linux Enterprise Server 12 SP3 BCL shadow In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS shadow In progress
SUSE Linux Enterprise Server 12 SP3 LTSS shadow In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS shadow In progress
SUSE Linux Enterprise Server 12 SP4 LTSS shadow In progress
SUSE Linux Enterprise Server 15 LTSS shadow In progress
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux shadow Already fixed
SUSE Linux Enterprise Server 15 SP1 LTSS shadow Already fixed
SUSE Linux Enterprise Server ESPOS 15 shadow In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP3 shadow In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 shadow In progress
SUSE Linux Enterprise Server for SAP Applications 15 shadow In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP1 shadow Already fixed
SUSE Manager Proxy 4.0 shadow Already fixed
SUSE Manager Retail Branch Server 4.0 shadow Already fixed
SUSE Manager Server 4.0 shadow Already fixed
SUSE OpenStack Cloud 8 shadow In progress
SUSE OpenStack Cloud 9 shadow In progress
SUSE OpenStack Cloud Crowbar 8 shadow In progress
SUSE OpenStack Cloud Crowbar 9 shadow In progress