Bugtraq mailing list archives

Re: [Full-disclosure] PHP filesystem attack vectors


From: Stefan Esser <stefan.esser () sektioneins de>
Date: Sun, 08 Feb 2009 14:12:43 +0100

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


Current thread: