BugTraq
Back to list
|
Post reply
PHP filesystem attack vectors
Feb 08 2009 10:53AM
ascii (ascii katamail com)
(1 replies)
Re: [Full-disclosure] PHP filesystem attack vectors
Feb 08 2009 01:12PM
Stefan Esser (stefan esser sektioneins de)
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
[ reply ]
Privacy Statement
Copyright 2010, SecurityFocus
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
[ reply ]