OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Full-disclosure] PHP filesystem attack vectors

From: Stefan Esser (stefan.essersektioneins.de)
Date: Sun Feb 08 2009 - 07:12:43 CST


Hello,

ascii schrieb:
> PHP filesystem attack vectors
>
> Name PHP filesystem attack vectors
> Systems Affected PHP and PHP+Suhosin

This research misses some information.

It compares "vanilla PHP" to "patched PHP" but that is not exactly true.

PHP + Suhosin replaces the system's realpath() with an own
implementation based on FreeBSD (+ some hardening).

This means everything presented that works against PHP + Suhosin should
work against vanilla PHP when used on FreeBSD, OS X, OpenBSD, ...

Additionally the research should be repeated with PHP 5.3-beta, because
it now does something very similar to Suhosin.

Stefan Esser

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