Re: [PHP-DEV] RE: (SRADV00001) Arbitrary file disclosure through PHP file upload From: Zeev Suraski (zeev <email protected>)
Date: 09/04/00

The initial fix published earlier did NOT fix the vulnerability that was
discovered, and could also cause crashes under certain circumstances. It
could also cause some applications to fail, due to a side effect that
prevents certain valid form variables from being processed correctly.

The correct, tested fixed file (without any side effects) is available at

http://cvsweb.php.net/viewcvs.cgi/~checkout~/php4/main/rfc1867.c?rev=1.45&content-type=text/plain

The diff against version 4.0.2 is available at:

http://cvsweb.php.net/viewcvs.cgi/php4/main/rfc1867.c.diff?r1=1.38%3Aphp_4_0_2&tr1=1.1&r2=text&tr2=1.45&diff_format=u

It is also attached to this message.

Thanks to James Moore for helping me test this fix.

Zeev

--
Zeev Suraski   <zeev <email protected>>
http://www.zend.com/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>