Heute wurde die neue Version von PHP vorgestellt, die hauptsächlich Sicherheitslücken schließt und einige Fehler behebt. Ein Großteil dieser Lücken wurde von Stefan Esser im Rahmen des
Month of PHP Bugs gefunden:
Security Enhancements and Fixes in PHP 5.2.2:
- Fixed CVE-2007-1001, GD wbmp used with invalid image size (by Ivan Fratric)
- Fixed a header injection via Subject and To parameters to the mail() function (MOPB-34 by Stefan Esser)
- Fixed asciiz byte truncation inside mail() (MOPB-33 by Stefan Esser)
- Fixed wrong length calculation in unserialize S type (MOPB-29 by Stefan Esser)
- Fixed a bug in mb_parse_str() that can be used to activate register_globals (MOPB-26 by Stefan Esser)
- Fixed unallocated memory access/double free in in array_user_key_compare() (MOPB-24 by Stefan Esser)
- Fixed a double free inside session_regenerate_id() (MOPB-22 by Stefan Esser)
- Added missing open_basedir & safe_mode checks to zip: and bzip: wrappers. (MOPB-20, MOPB-21 by Stefan Esser).
- Fixed substr_compare and substr_count information leak (MOPB-14 by Stefan Esser) (Stas, Ilia)
- Limit nesting level of input variables with max_input_nesting_level as fix for (MOPB-03 by Stefan Esser)
- Fixed CRLF injection inside ftp_putcmd(). (by loveshell[at]Bug.Center.Team)
- Fixed a possible super-global overwrite inside import_request_variables(). (by Stefano Di Paola, Steffan Esser)
- Fixed a remotely trigger-able buffer overflow inside make_http_soap_request(). (by Ilia Alshanetsky)
- Fixed a buffer overflow inside user_filter_factory_create(). (by Ilia Alshanetsky)
- Fixed a remotely trigger-able buffer overflow inside bundled libxmlrpc library. (by Stanislav Malyshev)
The key improvements of PHP 5.2.2 include:
- Further improvements to the Memory Manager with the goal of improving realloc() performance.
- Bundled GD, SQLite and PCRE libraries were upgraded.
- Additional methods were added to SPL's DirectoryIterator and SplFileInfo classes.
- Over 120 bug fixes.
Ich habe gestern auch das php-suhosin-Paket im [community]-Repository aktualisiert. Dies enthält neben der neuen PHP-Version auch den
Suhosin-Patch. Hier wird es in den nächsten Tagen auch noch eine neue Version geben.