From owner-freebsd-security Tue Oct 8 11:33:16 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E55237B401 for ; Tue, 8 Oct 2002 11:33:14 -0700 (PDT) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 494CA43E8A for ; Tue, 8 Oct 2002 11:33:13 -0700 (PDT) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (uwlazdcotvccknsr@dsl-131-25.aei.ca [66.36.131.25]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id g98IXCM23482 for ; Tue, 8 Oct 2002 14:33:12 -0400 (EDT) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 23659342 for ; Tue, 8 Oct 2002 14:38:48 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Tue, 8 Oct 2002 14:32:27 -0400 Date: Tue, 8 Oct 2002 14:32:27 -0400 From: The Anarcat To: FreeBSD Security Issues Subject: access() is a security hole? Message-ID: <20021008183227.GC309@lenny.anarcat.ath.cx> Mail-Followup-To: FreeBSD Security Issues Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c3bfwLpm8qysLVxt" Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --c3bfwLpm8qysLVxt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The access(2) manpage mentions an obscure security hole in access(2). How so? " CAVEAT Access() is a potential security hole and should never be used. " This seems to have been part of the manpage forever, or so to speak, so I really wonder what it's talking about. :) And if it's really that serious of a security hole, why isn't there a compiler warning similar to the use of mktemp() when linking against it? Thanks, A. --=20 Stop the bombings. Stop the murders. Anti-war. --c3bfwLpm8qysLVxt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9oyS7ttcWHAnWiGcRAhiuAJ4pxlAvYtVcl9NlCFDx/d11VEHYwwCeKigW eMq8DB5c0NqR5ptM3TRxOQA= =Jxck -----END PGP SIGNATURE----- --c3bfwLpm8qysLVxt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message