{"id":"CVE-2007-1453","sourceIdentifier":"cve@mitre.org","published":"2007-03-14T18:19:00.000","lastModified":"2026-06-16T22:37:36.803","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Desbordamiento de búfer en la macro HP_FILTER_TRIM_DEFAULT en el filtro de extensiones (ext/filter) del PHP 5.2.0 permite a atacantes dependientes del contexto ejecutar código de su elección llamando al filter_var con ciertos modos como el FILTER_VALIDATE_INT, lo que provoca que el filtro escriba un byte NULL en el espacio en blanco que precede al búfer."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*","matchCriteriaId":"CD02D837-FD28-4E0F-93F8-25E8D1C84A99"}]}]}],"references":[{"url":"http://secunia.com/advisories/25056","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/25062","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2007/dsa-1283","source":"cve@mitre.org"},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","source":"cve@mitre.org"},{"url":"http://www.php-security.org/MOPB/MOPB-19-2007.html","source":"cve@mitre.org"},{"url":"http://www.php.net/releases/5_2_1.php","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/22922","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://secunia.com/advisories/25056","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/25062","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2007/dsa-1283","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php-security.org/MOPB/MOPB-19-2007.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/releases/5_2_1.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/22922","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]}],"vendorComments":[{"organization":"Red Hat","comment":"Not vulnerable. The filter extension was not shipped in versions of PHP \nprovided for Red Hat Enterprise Linux 2.1, 3, 4, 5, Stronghold 4.0, or\nRed Hat Application Stack 1.","lastModified":"2007-04-16T00:00:00"}]}