|
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] Critical PHP bug - act ASAP if you are running web with sensitive data
From: Jasper Bryant-Greene (jasper
album.co.nz)
Date: Mon Apr 03 2006 - 16:58:56 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Moriyoshi Koizumi wrote:
> Jasper Bryant-Greene wrote:
>
>> 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.
>
> Not really. While this is not part of the HTML / HTTP standards, major
> browsers
> around try to send such characters in the user input as HTML entities
> that cannot
> all be represented in the encoding of the originating HTML page, it's
> quite probable
> the function is used to filter the query strings.
Indeed, it probably is, but hopefully the results of that are not then
echoed out to the browser without running htmlspecialchars() etc on
them... If they are (which is the root of this "security problem") then
that is the fault of the idiot who wrote the code, not PHP. You can only
protect users from their own stupidity to a certain degree...
--
Jasper Bryant-Greene
General Manager
Album Limited
http://www.album.co.nz/ 0800 4 ALBUM
jasper
album.co.nz 021 708 334
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]