#VU59131 Time-of-check Time-of-use (TOCTOU) Race Condition in shadow - CVE-2013-4235

 

#VU59131 Time-of-check Time-of-use (TOCTOU) Race Condition in shadow - CVE-2013-4235

Published: January 3, 2022


Vulnerability identifier: #VU59131
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2013-4235
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
shadow
Software vendor:
Mark Florian

Description

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.


Remediation

Install updates from vendor's website.

External links