CVE-2007-1453

critical

Description

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.

References

http://www.php.net/releases/5_2_1.php

http://www.php-security.org/MOPB/MOPB-19-2007.html

http://www.novell.com/linux/security/advisories/2007_32_php.html

http://www.debian.org/security/2007/dsa-1283

http://secunia.com/advisories/25062

http://secunia.com/advisories/25056

Details

Source: Mitre, NVD

Published: 2007-03-14

Updated: 2008-09-05

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical