Re: Rooting FreeBSD , Privilege Escalation using Jails (P??????t
--0eh6TmSyL6TZE2Uz
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Dag-Erling,
On Mon, May 09, 2011 at 02:34:14PM +0200, Dag-Erling Sm=F8rgrav wrote:
> Chris Rees <utisoft@gmail.com> writes:
> > This is the point I'm making, I can't recommend in the docs that one
> > chmods $D/.. because we (the docs writers) don't know what the user
> > (the reader) is going to set $D to.
>=20
> Ah, OK. But you could provide an example where $D is /var/jail, or
> something along those lines.
>=20
Do you know if there is a way that chmod on / from within the jail could=20
be prevented easily without breaking something ? Maybe not failing but=20
falling though and return 0 for any operation with the sole argument of /.
--=20
Regards, (jhell)
Jason Hellenthal
--0eh6TmSyL6TZE2Uz
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: http://bit.ly/0x89D8547E
iQEcBAEBAgAGBQJNx/8LAAoJEJBXh4mJ2FR+IicH+wYSZ/QFJRz0zlN3VcTUWwwC
zerzHVtr2gwKFTtYiStSKJ2fH/N3vuDMNmU8AF9nvPLm1dwUo1DuWlo0B290FIQ7
5IGKDXSbXy7AGgWTFG2Mockp4X4fQ05nZRxXSMvIlk+HhD1BSA1s2KKWiV0FR/et
rnsAMqTEcAt4cbZ4oh8MQsOdu6idhZJ0z3dXXKhfBW0H7Sf1CXiKztH3UrCvidpe
oQHD8i03q5G7BmKVUMJsk7mjUJasm6aLFV/n1UckqAaE/XfHoGj7x4pW8wsQ1ORv
cauwJ22uGOiB2CCF95w5ndAUj2dmbpuis+dxkVyYzxZD/tJ0mAt/cKs6oai77BY=
=32va
-----END PGP SIGNATURE-----
--0eh6TmSyL6TZE2Uz--
討論串 (同標題文章)
完整討論串 (本文為第 8 之 29 篇):