FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

rssh -- file name disclosure bug

Affected packages
rssh < 2.2.1


VuXML ID a4815970-c5cc-11d8-8898-000d6111a684
Discovery 2004-06-19
Entry 2004-09-21

rssh expands command line paramters before invoking chroot. This could result in the disclosure to the client of file names outside of the chroot directory. A posting by the rssh author explains:

The cause of the problem identified by Mr. McCaw is that rssh expanded command-line arguments prior to entering the chroot jail. This bug DOES NOT allow a user to access any of the files outside the jail, but can allow them to discover what files are in a directory which is outside the jail, if their credentials on the server would normally allow them read/execute access in the specified directory.


Bugtraq ID 10574
CVE Name CVE-2004-0609