<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:admin="http://webns.net/mvcb/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>the Month of PHP Bugs</title><link>http://www.php-security.org/</link><description></description><dc:language>en</dc:language><generator>RSS Generator 1.0</generator><pubDate>Fri, 01 Jun 2007 12:27:58 CEST</pubDate><image><url>http://www.php-security.org/MOPB/img/mopb-logo.png</url><title>RSS: the Month of PHP Bugs</title><link>http://www.php-security.org/MOPB/</link><width>147</width><height>96</height></image><item><title>PMOPB-46-2007: PHP ext/session Session Cookie Parameter Injection Vulnerability</title><link>http://www.php-security.org/MOPB/PMOPB-46-2007.html</link><description>The session id does not get urlencoded before it is sent within the cookie. Therefore it is possible to inject arbitrary cookie parameters like a very long lifetime depending on PHP version and selected session module.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Fri, 01 Jun 2007 09:05:04 CEST</pubDate></item><item><title>PMOPB-45-2007: PHP ext/filter Email Validation Vulnerability</title><link>http://www.php-security.org/MOPB/PMOPB-45-2007.html</link><description>A wrong regular expression in the email validation filter allows injection of a single newline at the end.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 07 Apr 2007 22:20:05 CEST</pubDate></item><item><title>MOPB-44-2007: PHP 5.2.0 Memory Manager Signed Comparision Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-44-2007.html</link><description>Due to a signed integer comparison the request for more than 2 GB of memory will be answered with a minimum size memory block. This results in a myriad of (sometimes remotely) exploitable buffer overflows.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 31 Mar 2007 19:30:05 CEST</pubDate></item><item><title>MOPB-43-2007: PHP msg_receive() Memory Allocation Integer Overflow Vulnerabilty</title><link>http://www.php-security.org/MOPB/MOPB-43-2007.html</link><description>An unchecked maxsize parameter to the msg_receive() function can result in an integer overflow during memory allocation that results in an exploitable buffer overflow.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 31 Mar 2007 19:30:04 CEST</pubDate></item><item><title>MOPB-42-2007: PHP 5 php_stream_filter_create() Off By One Vulnerablity</title><link>http://www.php-security.org/MOPB/MOPB-42-2007.html</link><description>The internal wildcard handling for stream filters contains an exploitable off by one overflow vulnerability that can be triggered by accessing a php://filter URL.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 31 Mar 2007 19:30:03 CEST</pubDate></item><item><title>MOPB-41-2007: PHP 5 sqlite_udf_decode_binary() Buffer Overflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-41-2007.html</link><description>Calling sqlite_udf_decode_binary() with a malformed input string can lead to an exploitable buffer overflow.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 31 Mar 2007 19:30:02 CEST</pubDate></item><item><title>MOPB-40-2007: PHP imap_mail_compose() Boundary Stack Buffer Overflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-40-2007.html</link><description>An overlong boundary string passed to imap_mail_compose() will overflow a stack buffer and lead to arbitrary code execution.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 31 Mar 2007 19:30:01 CEST</pubDate></item><item><title>MOPB-39-2007: PHP str_replace() Memory Allocation Integer Overflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-39-2007.html</link><description>When a single char is replaced by a long string many times in str_replace() this can result in an integer overflow in memory allocation that leads to a buffer overflow vulnerability.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 31 Mar 2007 19:30:00 CEST</pubDate></item><item><title>MOPB-38-2007: PHP printf() Family 64 Bit Casting Vulnerabilities</title><link>http://www.php-security.org/MOPB/MOPB-38-2007.html</link><description>A 64 bit long to int cast results in multiple flaws in PHP&#039;s printf() function family that lead to a new class of exploitable vulnerabilities. PHP Application Format String Vulnerabilites.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Fri, 30 Mar 2007 20:45:00 CEST</pubDate></item><item><title>MOPB-37-2007: PHP iptcembed() Interruption Information Leak Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-37-2007.html</link><description>A malicious user space error handler   that interrupts iptcembed() can manipulate its parameters which leads to disclosure of arbitrary heap memory.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Thu, 29 Mar 2007 23:00:00 CEST</pubDate></item><item><title>MOPB-36-2007: PHP session.save_path open_basedir Bypass Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-36-2007.html</link><description>Due to some magic directory guessing a script can bypass the open_basedir restriction on the session save path.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Wed, 28 Mar 2007 23:00:00 CEST</pubDate></item><item><title>MOPB-35-2007: PHP 4 zip_entry_read() Integer Overflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-35-2007.html</link><description>The zip_entry_read() function of PHP 4 is vulnerable to an integer overflow in memory allocation that leads to an exploitable bufferoverflow.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Tue, 27 Mar 2007 23:00:00 CEST</pubDate></item><item><title>MOPB-34-2007: PHP mail() Header Injection Through Subject and To Parameters</title><link>http://www.php-security.org/MOPB/MOPB-34-2007.html</link><description>A flaw in handling folded Subject and To headers allows mail header injection through both fields.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Mon, 26 Mar 2007 23:00:00 CEST</pubDate></item><item><title>MOPB-33-2007: PHP mail() Message ASCIIZ Byte Truncation</title><link>http://www.php-security.org/MOPB/MOPB-33-2007.html</link><description>ASCIIZ character injection into an email message will truncate it.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Mon, 26 Mar 2007 21:00:00 CEST</pubDate></item><item><title>MOPB-32-2007: PHP 4.4.5/4.4.6 session_decode() Double Free Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-32-2007.html</link><description>The security fix for MOPB-31-2007 introduced a double free vulnerability into PHP 4 that can lead to the execution of arbitrary code.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sun, 25 Mar 2007 12:00:00 CEST</pubDate></item><item><title>MOPB-31-2007: PHP _SESSION Deserialization Overwrite Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-31-2007.html</link><description>Deserialization of session data can overwrite _SESSION which can be exploited to execute arbitrary code.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 24 Mar 2007 19:50:00 CET</pubDate></item><item><title>MOPB-30-2007: PHP _SESSION unset() Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-30-2007.html</link><description>Unsetting HTTP_SESSION_VARS and _SESSION can lead to arbitrary code execution.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 24 Mar 2007 19:30:00 CET</pubDate></item><item><title>MOPB-29-2007: PHP 5.2.1 unserialize() Information Leak Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-29-2007.html</link><description>The new S: datatype in unserialize() does not work at all which leads to disclosure of heap memory content.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Fri, 23 Mar 2007 09:40:00 CET</pubDate></item><item><title>MOPB-28-2007: PHP hash_update_file() Already Freed Resource Access Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-28-2007.html</link><description>A malicious user stream can trick the hash_update_file() function into accessing an already freed hash resource. This can lead to arbitrary code execution.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Tue, 20 Mar 2007 20:20:00 CET</pubDate></item><item><title>MOPB-27-2007: PHP ext/gd Already Freed Resource Access Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-27-2007.html</link><description>A malicious error handler can trick the GD extension into accessing an already freed image resource which allows read and write access to arbitrary memory addresses from PHP code. This can lead to arbitrary code execution.
</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Mon, 19 Mar 2007 23:00:00 CET</pubDate></item><item><title>MOPB-26-2007: PHP mb_parse_str() register_globals Activation Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-26-2007.html</link><description>When the mb_parse_str() function is interrupted by for example a memory_limit violation this can result in register_globals being (and staying) activated for the Apache child.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sun, 18 Mar 2007 15:00:00 CET</pubDate></item><item><title>MOPB-25-2007: PHP header() Space Trimming Buffer Underflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-25-2007.html</link><description>When the header() function is called with an all whitespace string a buffer underflow can be triggered that allows code execution on big endian systems (e.g. MacOS X on PPC, Solaris on SPARC)</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 17 Mar 2007 22:03:00 CET</pubDate></item><item><title>MOPB-24-2007: PHP array_user_key_compare() Double DTOR Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-24-2007.html</link><description>When the userspace key comparison function returns its parameters are destructed  even if there are references left. Therefore an exploitable double DTOR can be triggered.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Fri, 16 Mar 2007 00:00:00 CET</pubDate></item><item><title>MOPB-23-2007: PHP 5 Rejected Session Identifier Double Free Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-23-2007.html</link><description>When a session storage module rejects a session id the session code fails to clear an already freed pointer before calling an interruptible function. This can lead to an exploitable double free.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Thu, 15 Mar 2007 00:00:00 CET</pubDate></item><item><title>MOPB-22-2007: PHP session_regenerate_id() Double Free Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-22-2007.html</link><description>session_regenerate_id() fails to clear an already freed pointer before calling an interruptible function. This can lead to an exploitable double free.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Wed, 14 Mar 2007 18:44:00 CET</pubDate></item><item><title>MOPB-21-2007: PHP compress.bzip2:// URL Wrapper safemode and open_basedir Bypass Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-21-2007.html</link><description>The compress.bzip2:// URL Wrapper does not perform safemode or open_basedir checks and therefore allows access to archives outside the allowed area</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Tue, 13 Mar 2007 23:01:00 CET</pubDate></item><item><title>MOPB-20-2007: PHP zip:// URL Wrapper safemode and open_basedir Bypass Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-20-2007.html</link><description>The zip:// URL Wrapper does not perform safemode or open_basedir checks and therefore allows access to archives outside the allowed area</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Tue, 13 Mar 2007 23:00:00 CET</pubDate></item><item><title>MOPB-19-2007: PHP ext/filter Space Trimming Buffer Underflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-19-2007.html</link><description>When ext/filter is used in an application to filter user input a buffer underflow can be triggered that allows remote code execution on big endian systems (e.g. MacOS X on PPC, Solaris on SPARC)</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Mon, 12 Mar 2007 00:03:00 CET</pubDate></item><item><title>MOPB-18-2007: PHP ext/filter HTML Tag Stripping Bypass Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-18-2007.html</link><description>When ext/filter is configured to strip characters with low ASCII values it is possible to bypass the HTML tag filter in an easy way.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sun, 11 Mar 2007 00:03:00 CET</pubDate></item><item><title>MOPB-17-2007: PHP ext/filter FDF Post Bypass Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-17-2007.html</link><description>POST data in the FDF format is not processed at all by ext/filter. When PHP is compiled with FDF support, sitewide enforced filtering will not be performed on it.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 10 Mar 2007 13:30:00 CET</pubDate></item><item><title>MOPB-16-2007: PHP zip:// URL Wrapper Buffer Overflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-16-2007.html</link><description>The zip:// URL wrapper suffers from a standard stack based buffer overflow that occurs when an overlong URL is parsed and can therefore lead to arbitrary code execution.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Fri, 09 Mar 2007 00:05:00 CET</pubDate></item><item><title>MOPB-15-2007: PHP shmop Functions Resource Verification Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-15-2007.html</link><description>The shmop functions do not verify that the supplied resource is of the correct type. This allows read and write access to arbitrary memory addresses and allows the execution of arbitrary code.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Thu, 08 Mar 2007 00:05:00 CET</pubDate></item><item><title>MOPB-14-2007: PHP substr_compare() Information Leak Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-14-2007.html</link><description>An integer overflow in the substr_compare() function allows reading arbitrary heap memory.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Wed, 07 Mar 2007 11:50:00 CET</pubDate></item><item><title>MOPB-13-2007: PHP 4 Ovrimos Extension Multiple Vulnerabilities</title><link>http://www.php-security.org/MOPB/MOPB-13-2007.html</link><description>The Ovrimos extension shipped with PHP 4 considers arguments as direct memory pointers. This allows direct memory access which leads to arbitrary code execution.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Tue, 06 Mar 2007 00:04:15 CET</pubDate></item><item><title>BONUS-12-2007: mod_security POST Rules Bypass Vulnerability</title><link>http://www.php-security.org/MOPB/BONUS-12-2007.html</link><description>An ASCIIZ character embedded in application/x-www-form-urlencoded POST data terminates the data in the eyes of mod_security, which results in a trivial way to bypass its rules.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Tue, 06 Mar 2007 00:00:15 CET</pubDate></item><item><title>MOPB-11-2007: PHP WDDX Session Deserialization Information Leak Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-11-2007.html</link><description>Numerical keys in session data in WDDX format might leak an arbitrary portion of stack data into PHP variables.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Mon, 05 Mar 2007 00:00:15 CET</pubDate></item><item><title>MOPB-10-2007: PHP php_binary Session Deserialization Information Leak Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-10-2007.html</link><description>Malformed session data in php_binary format might leak a portion of heap data into PHP variables.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Mon, 05 Mar 2007 00:00:00 CET</pubDate></item><item><title>MOPB-09-2007: PHP wddx_deserialize() String Append Buffer Overflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-09-2007.html</link><description>Malformed WDDX data might trigger an exploitable buffer overflow that was introduced by a pseudo security fix.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sun, 04 Mar 2007 00:09:00 CET</pubDate></item><item><title>MOPB-08-2007: PHP 4 phpinfo() XSS Vulnerability (Deja-vu)</title><link>http://www.php-security.org/MOPB/MOPB-08-2007.html</link><description>phpinfo() does not escape the content of user supplied arrays in GET, POST or COOKIE variables when it displays them which leads to an XSS vulnerability.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 03 Mar 2007 15:02:00 CET</pubDate></item><item><title>BONUS-07-2007: Zend Platform ini_modifier Local Root Vulnerability</title><link>http://www.php-security.org/MOPB/BONUS-07-2007.html</link><description>The ini_modifier of the Zend Platform can be tricked by a local user to edit the system php.ini file, which can be used to obtain root privileges.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 03 Mar 2007 13:02:00 CET</pubDate></item><item><title>BONUS-06-2007: Zend Platform Insecure File Permission Local Root Vulnerability</title><link>http://www.php-security.org/MOPB/BONUS-06-2007.html</link><description>Several binaries and shellscripts installed by the Zend Platform are installed with unsafe permissions that might allow an attacker to gain root privileges.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Sat, 03 Mar 2007 13:01:00 CET</pubDate></item><item><title>MOPB-05-2007: PHP unserialize() 64 bit Array Creation Denial of Service Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-05-2007.html</link><description>Deserialisation of malformed PHP arrays from within unserialize() might result in a tight endless loop exhausting CPU ressources on 64bit systems.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Fri, 02 Mar 2007 00:02:00 CET</pubDate></item><item><title>MOPB-04-2007: PHP 4 unserialize() ZVAL Reference Counter Overflow</title><link>http://www.php-security.org/MOPB/MOPB-04-2007.html</link><description>During unserialisation of user supplied data that contains a lot of references to a variable the internal 16bit zval reference counter can overflow. This leads to an exploitable double dtor condition.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Fri, 02 Mar 2007 00:01:00 CET</pubDate></item><item><title>MOPB-03-2007: PHP Variable Destructor Deep Recursion Stack Overflow</title><link>http://www.php-security.org/MOPB/MOPB-03-2007.html</link><description>The destruction of deeply nested PHP arrays will exhaust all available stack which leads to remotely triggerable crashes.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Thu, 01 Mar 2007 14:04:02 CET</pubDate></item><item><title>MOPB-02-2007: PHP Executor Deep Recursion Stack Overflow</title><link>http://www.php-security.org/MOPB/MOPB-02-2007.html</link><description>A deep recursion of PHP userland code will exhaust all available stack which leads to a sometimes remotely triggerable crash.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Thu, 01 Mar 2007 14:00:02 CET</pubDate></item><item><title>MOPB-01-2007: PHP 4 Userland ZVAL Reference Counter Overflow Vulnerability</title><link>http://www.php-security.org/MOPB/MOPB-01-2007.html</link><description>In PHP 4 userland code is able to overflow the internal 16bit zval reference counter by creating many references to a variable. This leads to an exploitable double dtor condition.</description><author>stefan@hardened-php.net (Stefan Esser)</author><pubDate>Thu, 01 Mar 2007 00:00:00 CET</pubDate></item></channel></rss>
