From owner-freebsd-doc Fri Nov 2 23: 0: 9 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 91F7A37B40B for ; Fri, 2 Nov 2001 23:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA3702s37731; Fri, 2 Nov 2001 23:00:02 -0800 (PST) (envelope-from gnats) Received: from rust098-017.resnet.wisc.edu (rust098-017.resnet.wisc.edu [146.151.98.17]) by hub.freebsd.org (Postfix) with ESMTP id 16FF937B408 for ; Fri, 2 Nov 2001 22:56:49 -0800 (PST) Received: (from karp@localhost) by rust098-017.resnet.wisc.edu (8.11.6/8.11.6) id fA36u5M39966; Sat, 3 Nov 2001 00:56:05 -0600 (CST) (envelope-from karp) Message-Id: <200111030656.fA36u5M39966@rust098-017.resnet.wisc.edu> Date: Sat, 3 Nov 2001 00:56:05 -0600 (CST) From: Anatoly Karp Reply-To: Anatoly Karp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/31720: man ftpd(8) omits potentially crucial security warning Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31720 >Category: docs >Synopsis: man ftpd(8) omits potentially crucial security warning >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 02 23:00:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Anatoly Karp >Release: FreeBSD 4.4-STABLE i386 >Organization: private >Environment: System: FreeBSD rust098-017.resnet.wisc.edu 4.4-STABLE FreeBSD 4.4-STABLE #1: Wed Oct 31 03:26:58 CST 2001 karp@rust098-017.resnet.wisc.edu:/usr/obj/usr/src/sys/TOL_KERN6 i386 >Description: Man ftpd(8) suggests giving ~ftp/pub directory the permission bits of 777 without adequately explaining potentially unpleasant security implications of such a step. It is suggested that >How-To-Repeat: $ man ftpd [snip] ~ftp/pub Make this directory mode 777 and owned by ``ftp''. Guests can then place files which are to be accessible via the anonymous account in this directory. [snip] >Fix: Change the corresponding paragraph to, say: ~ftp/pub Make this directory mode 700 and owned by ``ftp''. Making this directory world-writable will open you to a variety of DoS attacks as well as being used for warez. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message