NVD Vulnerability Detail
Search Exploit, PoC
CVE-2007-1453
Summary

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.

Publication Date March 15, 2007, 3:19 a.m.
Registration Date Jan. 29, 2021, 2:08 p.m.
Last Update Sept. 6, 2008, 6:20 a.m.
CVSS2.0 : HIGH
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges はい
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PHP のフィルタリングエクステンションにおけるバッファアンダーフローの脆弱性
Title PHP のフィルタリングエクステンションにおけるバッファアンダーフローの脆弱性
Summary

PHP のフィルタリングエクステンション (ext/filter) の PHP_FILTER_TRIM_DEFAULT マクロには、バッファアンダーフローの脆弱性が存在します。

Possible impacts 攻撃者により、FILTER_VALIDATE_INT などの特定のモードを伴う filter_var を呼び出すことで、フィルタがバッファの前の空白スペースに NULL バイトを書き込む状態となり、任意のコードを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 14, 2007, midnight
Registration Date Sept. 25, 2012, 4:47 p.m.
Last Update Sept. 25, 2012, 4:47 p.m.
Affected System
The PHP Group
PHP 5.2.0
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年09月25日]
  掲載
Feb. 17, 2018, 10:37 a.m.