vendor:
SuSE Linux
by:
IhaQueR
7.2
CVSS
HIGH
Race Condition
362
CWE
Product Name: SuSE Linux
Affected Version From: SuSE Linux 6.4
Affected Version To: SuSE Linux 7.3
Patch Exists: YES
Related CWE: N/A
CPE: o:suse:suse_linux:6.4
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Linux
2001
rctab Race Condition Vulnerability
A race condition in the rctab script could allow an attacker to either gain elevated privileges, or append to and corrupt system files. This problem exists due to the insecure creation of files in the /tmp directory by the rctab script. Upon execution of the rctab script, rctab creates a subdirectory in the /tmp directory, using directory name rctmpdir.[pid of rctab process]. The script, which is normally run by root, does not check for an already existing rctmpdir.[pid of rctab process] directory. Additionally, the use of the -p flag with mkdir does not generate an error when the directory already exists, allowing the script to continue executing.
Mitigation:
Ensure that the rctab script is updated to the latest version and that the system is running the latest version of SuSE Linux.