Full Disclosure mailing list archives

Re: Critical PHP bug - act ASAP if you are running web with sensitive data


From: Jeff Rosowski <rosowskij () ie ymp gov>
Date: Wed, 29 Mar 2006 08:43:23 -0800 (PST)

really did not knew much more than was discovered. Meanwhile I am bit disappointed that we had nearly month such a bug in wild and software distributors like SuSE in my case did not published patches. I think as long enough time passed and I hope distributors maybe need to see it - I publish exploit. Sorry, this was discovered independently and for me it looks like very serious problem.

Script is:
<?php

  $foobar=html_entity_decode($_GET['foo']);
  echo $foobar;

?>

I very much doubt there are many applications at all containing code like this. It is illogical to be decoding html entities from user input. Therefore I would not call this a "very serious problem" and certainly not a critical bug.

It also doesn't affect all versions of PHP. on 5.0.5, it returns \0 followed by however many Ss you put after it. And your right you wouldn't trust user imput like that.

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


Current thread: