From owner-cvs-src@FreeBSD.ORG Sat Feb 7 06:54:30 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C58C816A4CE; Sat, 7 Feb 2004 06:54:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA8AE43D1F; Sat, 7 Feb 2004 06:54:30 -0800 (PST) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i17EsU0B007019; Sat, 7 Feb 2004 06:54:30 -0800 (PST) (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i17EsUvF007018; Sat, 7 Feb 2004 06:54:30 -0800 (PST) (envelope-from yar) Message-Id: <200402071454.i17EsUvF007018@repoman.freebsd.org> From: Yar Tikhiy Date: Sat, 7 Feb 2004 06:54:30 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/ftpd ftpd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 14:54:30 -0000 yar 2004/02/07 06:54:30 PST FreeBSD src repository Modified files: libexec/ftpd ftpd.c Log: Deny attempts to rename a file from guest users if the policy says they may not modify existing files through FTP. Renaming a file is effectively a way to modify it. For instance, if a malicious party is unable to delete or overwrite a sensitive file, they can nevertheless rename it to a hidden name and then upload a troyan horse under the guise of the old file name. Revision Changes Path 1.152 +4 -0 src/libexec/ftpd/ftpd.c