Time-of-check Time-of-use (TOCTOU) Race Condition in shadow - CVE-2013-4235
Published: January 3, 2022
Vulnerability details
The vulnerability allows a local user to delete or modify arbitrary files on the system.
The vulnerability exists due to a race condition in shadow-utils when executing usermod/userdel operations. A local user with write access to the directory that is being moved or deleted by the usermod/userdel commands can modify or delete arbitrary files on the system.
Successful exploitation of the vulnerability may allow an attacker to corrupt arbitrary files on the system and perform a denial of service (DoS) attack.
Affected software
SUSE Linux Enterprise Server 15 SP3
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
Ubuntu
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Basesystem Module
openSUSE Leap
openEuler
SmartFabric Manager
RecoverPoint for Virtual Machines
uidmap (Ubuntu package)
passwd (Ubuntu package)
login (Ubuntu package)
shadow
shadow-debugsource
shadow-debuginfo
shadow-help
login_defs
shadow-subid-devel
libsubid5
libsubid-devel
libsubid5-debuginfo
sys-apps/shadow
libsubid4 (Ubuntu package)
cflinuxfs3
Storage Resource Manager
Dell EMC Storage Monitoring and Reporting (SMR)
How to mitigate CVE-2013-4235
SmartFabric Manager - update to 1.2.0
RecoverPoint for Virtual Machines - update to 6.0 SP2 P1
uidmap (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 1:4.5-1ubuntu2.4, 1:4.8.1-1ubuntu5.20.04.3, 1:4.8.1-2ubuntu2.1, 1:4.11.1+dfsg1-2ubuntu1.1
passwd (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 1:4.5-1ubuntu2.4, 1:4.8.1-1ubuntu5.20.04.3, 1:4.8.1-2ubuntu2.1, 1:4.11.1+dfsg1-2ubuntu1.1
login (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 1:4.5-1ubuntu2.4, 1:4.8.1-1ubuntu5.20.04.3, 1:4.8.1-2ubuntu2.1, 1:4.11.1+dfsg1-2ubuntu1.1
shadow - addressed in versions 4.2.1-36.12.1, 4.2.1-36.15.1, 4.8.1-150300.4.15.1, 4.8.1-150300.4.18.1, 4.8.1-150400.3.9.1, 4.8.1-150400.3.12.1, 4.8.1-150400.10.18.1, 4.8.1-150400.10.21.1, 4.8.1-150500.3.6.1, 4.8.1-150500.3.9.1, 4.8.1-150600.17.3.1, 4.8.1-150600.17.6.1, 4.17.2-150600.17.18.1
shadow-debugsource - addressed in versions 4.2.1-36.12.1, 4.2.1-36.15.1, 4.8.1-150300.4.15.1, 4.8.1-150300.4.18.1, 4.8.1-150400.3.9.1, 4.8.1-150400.3.12.1, 4.8.1-150400.10.18.1, 4.8.1-150400.10.21.1, 4.8.1-150500.3.6.1, 4.8.1-150500.3.9.1, 4.8.1-150600.17.3.1, 4.8.1-150600.17.6.1, 4.17.2-150600.17.18.1
shadow-debuginfo - addressed in versions 4.2.1-36.12.1, 4.2.1-36.15.1, 4.8.1-150300.4.15.1, 4.8.1-150300.4.18.1, 4.8.1-150400.3.9.1, 4.8.1-150400.3.12.1, 4.8.1-150400.10.18.1, 4.8.1-150400.10.21.1, 4.8.1-150500.3.6.1, 4.8.1-150500.3.9.1, 4.8.1-150600.17.3.1, 4.8.1-150600.17.6.1, 4.17.2-150600.17.18.1
shadow-help - addressed in versions 4.8.1-9, 4.8.1-10, 4.9-12, 4.9-14
shadow-debuginfo - addressed in versions 4.8.1-9, 4.8.1-10, 4.9-12, 4.9-14
shadow-debugsource - addressed in versions 4.8.1-9, 4.8.1-10, 4.9-12, 4.9-14
shadow - addressed in versions 4.8.1-9, 4.8.1-10, 4.9-12, 4.9-14
login_defs - addressed in versions 4.8.1-150300.4.15.1, 4.8.1-150300.4.18.1, 4.8.1-150400.3.9.1, 4.8.1-150400.3.12.1, 4.8.1-150400.10.18.1, 4.8.1-150400.10.21.1, 4.8.1-150500.3.6.1, 4.8.1-150500.3.9.1, 4.8.1-150600.17.3.1, 4.8.1-150600.17.6.1, 4.17.2-150600.17.18.1
shadow-subid-devel - addressed in versions 4.9-12, 4.9-14
libsubid5 - update to 4.17.2-150600.17.18.1
libsubid-devel - update to 4.17.2-150600.17.18.1
libsubid5-debuginfo - update to 4.17.2-150600.17.18.1
cflinuxfs3 - update to 0.341.0
Dell EMC Storage Monitoring and Reporting (SMR) - update to 5.0.2.0
Storage Resource Manager - update to 5.0.2.0
sys-apps/shadow - update to 4.12.2
libsubid4 (Ubuntu package) - update to 1:4.11.1+dfsg1-2ubuntu1.1
External References
Related Security Bulletins
- Race condition in shadow
- Gentoo update for Shadow
- Ubuntu update for shadow
- Multiple vulnerabilities in Cloud Foundry Foundation cflinuxfs3
- openEuler 20.03 LTS SP1 update for shadow
- openEuler 20.03 LTS SP3 update for shadow
- openEuler 22.03 LTS update for shadow
- openEuler 22.03 LTS SP1 update for shadow
- openEuler 22.03 LTS SP2 update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- SUSE update for shadow
- Multiple vulnerabilities in Dell Storage Resource Manager (SRM) and Dell Storage Monitoring and Reporting (SMR)
- SUSE update for shadow
- Dell SmartFabric Manager update for third-party components
- Dell RecoverPoint for Virtual Machines update for third-party components
- SUSE update for Recommended update for shadow