* SECURITY UPDATE: php_admin_value and php_admin_flag restrictions bypass via
ini_set. (LP: #228095)
- debian/patches/120_SECURITY_CVE-2007-5900.patch: add new
zend_alter_ini_entry_ex() function that extends zend_alter_ini_entry() by
making sure the entry can be modified in Zend/zend_ini.{c,h},
Zend/zend_vm_def.h, and Zend/zend_vm_execute.h.
- CVE-2007-5900
* SECURITY UPDATE: denial of service and possible arbitrary code execution
via crafted font file. (LP: #286851)
- debian/patches/121_SECURITY_CVE-2008-3658.patch: make sure font->nchars,
font->h, and font->w don't cause overflows in ext/gd/gd.c. Also, add
test script ext/gd/tests/imageloadfont_invalid.phpt.
- CVE-2008-3658
* SECURITY UPDATE: denial of service and possible arbitrary code execution
via the delimiter argument to the explode function. (LP: #286851)
- debian/patches/122_SECURITY_CVE-2008-3659.patch: make sure needle_length
is sane in ext/standard/tests/strings/explode_bug.phpt. Also, add test
script ext/standard/tests/strings/explode_bug.phpt.
- CVE-2008-3659
* SECURITY UPDATE: denial of service via a request with multiple dots
preceding the extension. (ex: foo..php) (LP: #286851)
- debian/patches/123_SECURITY_CVE-2008-3660.patch: improve .. cleaning with
a new is_valid_path() function in sapi/cgi/cgi_main.c.
- CVE-2008-3660
* SECURITY UPDATE: mbstring extension arbitrary code execution via crafted
string containing HTML entity. (LP: #317672)
- debian/patches/124_SECURITY_CVE-2008-5557.patch: improve
mbfl_filt_conv_html_dec_flush() error handling in
ext/mbstring/libmbfl/filters/mbfilter_htmlent.c.
- CVE-2008-5557
* SECURITY UPDATE: safe_mode restriction bypass via unrestricted variable
settings.
- debian/patches/125_SECURITY_CVE-2008-5624.patch: make sure the page_uid
and page_gid get initialized properly in ext/standard/basic_functions.c.
Also, init server_context before processing config variables in
sapi/apache/mod_php5.c.
- CVE-2008-5624
* SECURITY UPDATE: arbitrary file write by placing a "php_value error_log"
entry in a .htaccess file.
- debian/patches/126_SECURITY_CVE-2008-5625.patch: enforce restrictions
when merging in dir entry in sapi/apache/mod_php5.c and
sapi/apache2handler/apache_config.c.
- CVE-2008-5625
* SECURITY UPDATE: arbitrary file overwrite from directory traversal via zip
file with dot-dot filenames.
- debian/patches/127_SECURITY_CVE-2008-5658.patch: clean up filename paths
in ext/zip/php_zip.c with new php_zip_realpath_r(),
php_zip_virtual_file_ex() and php_zip_make_relative_path() functions.
- CVE-2008-5658
-- Marc Deslauriers <email address hidden> Tue, 27 Jan 2009 14:22:51 -0500
This bug was fixed in the package php5 - 5.2.4-2ubuntu5.5
---------------
php5 (5.2.4-2ubuntu5.5) hardy-security; urgency=low
* SECURITY UPDATE: php_admin_value and php_admin_flag restrictions bypass via patches/ 120_SECURITY_ CVE-2007- 5900.patch: add new alter_ini_ entry_ex( ) function that extends zend_alter_ ini_entry( ) by ini.{c, h}, zend_vm_ def.h, and Zend/zend_ vm_execute. h. patches/ 121_SECURITY_ CVE-2008- 3658.patch: make sure font->nchars, tests/imageload font_invalid. phpt. patches/ 122_SECURITY_ CVE-2008- 3659.patch: make sure needle_length tests/strings/ explode_ bug.phpt. Also, add test tests/strings/ explode_ bug.phpt. patches/ 123_SECURITY_ CVE-2008- 3660.patch: improve .. cleaning with cgi_main. c. patches/ 124_SECURITY_ CVE-2008- 5557.patch: improve filt_conv_ html_dec_ flush() error handling in mbstring/ libmbfl/ filters/ mbfilter_ htmlent. c. patches/ 125_SECURITY_ CVE-2008- 5624.patch: make sure the page_uid basic_functions .c. apache/ mod_php5. c. patches/ 126_SECURITY_ CVE-2008- 5625.patch: enforce restrictions mod_php5. c and apache2handler/ apache_ config. c. patches/ 127_SECURITY_ CVE-2008- 5658.patch: clean up filename paths realpath_ r(), zip_virtual_ file_ex( ) and php_zip_ make_relative_ path() functions.
ini_set. (LP: #228095)
- debian/
zend_
making sure the entry can be modified in Zend/zend_
Zend/
- CVE-2007-5900
* SECURITY UPDATE: denial of service and possible arbitrary code execution
via crafted font file. (LP: #286851)
- debian/
font->h, and font->w don't cause overflows in ext/gd/gd.c. Also, add
test script ext/gd/
- CVE-2008-3658
* SECURITY UPDATE: denial of service and possible arbitrary code execution
via the delimiter argument to the explode function. (LP: #286851)
- debian/
is sane in ext/standard/
script ext/standard/
- CVE-2008-3659
* SECURITY UPDATE: denial of service via a request with multiple dots
preceding the extension. (ex: foo..php) (LP: #286851)
- debian/
a new is_valid_path() function in sapi/cgi/
- CVE-2008-3660
* SECURITY UPDATE: mbstring extension arbitrary code execution via crafted
string containing HTML entity. (LP: #317672)
- debian/
mbfl_
ext/
- CVE-2008-5557
* SECURITY UPDATE: safe_mode restriction bypass via unrestricted variable
settings.
- debian/
and page_gid get initialized properly in ext/standard/
Also, init server_context before processing config variables in
sapi/
- CVE-2008-5624
* SECURITY UPDATE: arbitrary file write by placing a "php_value error_log"
entry in a .htaccess file.
- debian/
when merging in dir entry in sapi/apache/
sapi/
- CVE-2008-5625
* SECURITY UPDATE: arbitrary file overwrite from directory traversal via zip
file with dot-dot filenames.
- debian/
in ext/zip/php_zip.c with new php_zip_
php_
- CVE-2008-5658
-- Marc Deslauriers <email address hidden> Tue, 27 Jan 2009 14:22:51 -0500