Title: rdist /tmp File Race Condition Vulnerability
Severity: LOW
Description:
rdist is a freely available, open source software package distributed with numerous variants of the Linux Operating System. It is designed to maintain identical copies of files on numerous different machines, preserving as many different attributes of the file as possible.
A problem in the program exists that could allow for a symbolic link attack. Under some circumstances, rdist will create files in the /tmp directory. However, the files created in the /tmp file system are created insecurely, as the name of future files created by rdist can be predicted, and the program does not check for the existance of files before attempting to create them. It is possible to create a range of symbolic links in the /tmp file system using forecasted names of files that could be created by the rdist process, and symbolically linked to files that are write-accessible to the UID of the rdist process. This makes it possible for a user with malicious intent to overwrite or append to and corrupt files owned by another user, and potentially system files.
Affected Products:
- MandrakeSoft Linux Mandrake 6.0.0
- MandrakeSoft Linux Mandrake 6.1.0
- MandrakeSoft Linux Mandrake 7.0.0
- MandrakeSoft Linux Mandrake 7.1.0
- MandrakeSoft Linux Mandrake 7.2.0
- RedHat Linux 7.0.0
- WireX Immunix OS 7.0.0 -Beta
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.