Peter Jeremy
20/01/07, 15:01
--gvF4niNJ+uBMJnEh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2007-Jan-18 22:21:52 +0800, XFOCUS Security Team <security@xfocus.org> w=
rote:
>The affected OSes allows local users to write to or read from restricted
>files by closing the file descriptors 0 (standard input), 1 (standard
>output), or 2 (standard error), which may then be reused by a called
>setuid process that intended to perform I/O on normal files. the attack
>which exploit this vulnerability possibly get root right.
This vulnerability has been known for years. OpenBSD implemented a
kernel check to block this attack in 1998. FreeBSD and NetBSD have
similar kernel checks and I believe glibc also has checks to block
this. It is disturbing that none of the commercial OS vendors appear
to have bothered to protect against this.
--=20
Peter Jeremy
--gvF4niNJ+uBMJnEh
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFFr+D5/opHv/APuIcRAp/jAJ0aMs2NWaS5ART5YWL5+K8+u3ISkACdEsxm
0kyE9357Xc7FVJWs9uYEJwo=
=5EEp
-----END PGP SIGNATURE-----
--gvF4niNJ+uBMJnEh--
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2007-Jan-18 22:21:52 +0800, XFOCUS Security Team <security@xfocus.org> w=
rote:
>The affected OSes allows local users to write to or read from restricted
>files by closing the file descriptors 0 (standard input), 1 (standard
>output), or 2 (standard error), which may then be reused by a called
>setuid process that intended to perform I/O on normal files. the attack
>which exploit this vulnerability possibly get root right.
This vulnerability has been known for years. OpenBSD implemented a
kernel check to block this attack in 1998. FreeBSD and NetBSD have
similar kernel checks and I believe glibc also has checks to block
this. It is disturbing that none of the commercial OS vendors appear
to have bothered to protect against this.
--=20
Peter Jeremy
--gvF4niNJ+uBMJnEh
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFFr+D5/opHv/APuIcRAp/jAJ0aMs2NWaS5ART5YWL5+K8+u3ISkACdEsxm
0kyE9357Xc7FVJWs9uYEJwo=
=5EEp
-----END PGP SIGNATURE-----
--gvF4niNJ+uBMJnEh--