Bug 239317

Summary: CVE-2007-1453: Buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro
Product: Red Hat Enterprise Linux 4 Reporter: paul boin <paul.boin>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-15 15:54:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description paul boin 2007-05-07 15:14:31 UTC
Like the other PHP bugs, this on is mentioned in 230556, but not explicitly
closed and documented in any errata that I can find.

-------------------------------------------------------------------

Buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro in the filtering extension
(ext/filter) in PHP 5.2.0 allows context-dependent attackers to execute
arbitrary code by calling filter_var with certain modes such as
FILTER_VALIDATE_INT, which causes filter to write a null byte in whitespace that
precedes the buffer.

    * MISC:http://www.php-security.org/MOPB/MOPB-19-2007.html
    * MISC:http://www.php.net/releases/5_2_1.php
    * DEBIAN:DSA-1283
    * URL:http://www.debian.org/security/2007/dsa-1283
    * BID:22922
    * URL:http://www.securityfocus.com/bid/22922
    * SECUNIA:25062
    * URL:http://secunia.com/advisories/25062

Comment 1 Joe Orton 2007-05-15 15:54:00 UTC

*** This bug has been marked as a duplicate of 240163 ***