FTP client in Midnight Commander (mc) before 4.5.11 stores usernames and passwords for visited sites in plaintext in the world-readable history file, which allows other local users to gain privileges.
https://euvd.enisa.europa.eu/vulnerability/EUVD-1999-1318