Re: [Full-disclosure] FYI: Apache httpd NoFollowSymLink follows symlinks feature



I think you meant "apache follows symlinks even when -FollowSymLinks is *not
* set".
Otherwise it doesn't seem to make sense?

Cheers,
Chris.


On Fri, Jun 24, 2011 at 5:14 PM, halfdog <me@xxxxxxxxxxx> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For those, who did not already know:

Due to specification, apache follows symlinks even when -FollowSymLinks
is set, when the data is modified concurrently. This can be trivially
shown as demonstrated in
http://www.halfdog.net/Security/2011/ApacheNoFollowSymlinkTimerace/ .
When performing host hardening, do not think, the -FollowSymLinks option
alone will prevent you from symlink attacks.

- --
http://www.halfdog.net/
PGP: 156A AE98 B91F 0114 FE88 2BD8 C459 9386 feed a bee
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFOBKnlxFmThv7tq+4RAssHAJ4jiIVCzRLrVFeR6NOXaMSnyOf17ACdEnop
yY8Z4UJ9saIxDmDBy/KEZTI=
=eNhL
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Relevant Pages

  • Re: [Full-disclosure] FYI: Apache httpd NoFollowSymLink follows symlinks feature
    ... symlinks. ... specification states, that the symlink-check is not race-free. ... Charter: http://lists.grok.org.uk/full-disclosure-charter.html ... Hosted and sponsored by Secunia - http://secunia.com/ ...
    (Full-Disclosure)
  • httpd problem & Q
    ... I have set in /var/www/html a pile of symlinks to /web and ... have in the httpd.conf to follow symlinks. ... I've set up Apache a number of times on different machines (inc. ... DocumentRoot inside the, where should DocumentRoot point ...
    (Fedora)
  • Re: Apache Symbolic Link Error
    ... You need a Options FollowSymLinks. ... I strongly advise you against allowing symlinks in user ... >I'm trying to get apache to use users areas. ... >link to link to another folder then it refuses to work. ...
    (freebsd-questions)
  • Re: Webfreigabe klappt nicht fuer symb. Link
    ... Symlinks von Apache beachtet werden? ... Options Indexes MultiViews FollowSymlinks ... Aber es würde mich trotzdem interessieren, ...
    (de.comp.sys.mac.internet)
  • Re: [Full-disclosure] usb_modeswitch/pppd -detach
    ... own process ID, make symlinks for the next 100 or so values of $$, and then ... Full-Disclosure - We believe in it. ... Charter: http://lists.grok.org.uk/full-disclosure-charter.html ... Hosted and sponsored by Secunia - http://secunia.com/ ...
    (Full-Disclosure)