SuSE MkDir Error Handling rctab Race...

- AV AC AU C I A
发布: 2001-01-13
修订: 2025-04-13

rctab is the Run Control Tab script included with the SuSE distribution of the Linux Operating System. SuSE is a freely available, Open Source Operating system maintained by SuSE Incorporated. 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. This problem makes it possible for a malicious user to guess the future process id of the rctab process, and create a range of directories that...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息