Date: Tue, 2 Jan 2001 19:26:13 -0800 (PST) From: me@me.me.com To: freebsd-gnats-submit@FreeBSD.org Subject: misc/24034: "CWD" discloses the full "real" path in a chroot environment (freebsd 4.2-stable aprox december 11th) Message-ID: <200101030326.f033QDa61649@freefall.freebsd.org> Resent-Message-ID: <200101030330.f033U1h62037@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 24034 >Category: misc >Synopsis: "CWD" discloses the full "real" path in a chroot environment (freebsd 4.2-stable aprox december 11th) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 02 19:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: me >Release: >Organization: Netomics >Environment: FreeBSD me.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Dec 11 08:58:19 EST 2000 >Description: A user in the /etc/ftpchroot file shouldn't be able to disclose the "Real" directory they are in. >How-To-Repeat: 1) Connect to a freebsd ftp server /w a valid account that is chrooted (i.e. the ftp "/" directory is really "/somedir/whatever/") 2) "CWD" will show you 550 CWD /somedir/whatever/[servername]: no such file or directory >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101030326.f033QDa61649>