製品・ソフトウェアに関する情報
PHP の ext/filter におけるクロスサイトスクリプティング攻撃を実行される脆弱性
Title PHP の ext/filter におけるクロスサイトスクリプティング攻撃を実行される脆弱性
Summary

PHP の ext/fliter は、FILTER_SANITIZE_STRING が FILTER_FLAG_STRIP_LOW フラグと一緒に使用される際、HTML タグを適切に除かないため、クロスサイトスクリプティング攻撃を実行される脆弱性が存在します。

Possible impacts 第三者により、特定の空白文字の前に '<' 文字を伴う HTML を介して、フィルタをすり抜け有効なタグに折りたたまれる状態となり、クロスサイトスクリプティング攻撃を実行される可能性があります。
Solution

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

Publication Date March 11, 2007, midnight
Registration Date Sept. 25, 2012, 4:47 p.m.
Last Update Sept. 25, 2012, 4:47 p.m.
CVSS2.0 : 警告
Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
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.

NVD Vulnerability Information
CVE-2007-1454
Summary

ext/filter in PHP 5.2.0, when FILTER_SANITIZE_STRING is used with the FILTER_FLAG_STRIP_LOW flag, does not properly strip HTML tags, which allows remote attackers to conduct cross-site scripting (XSS) attacks via HTML with a '<' character followed by certain whitespace characters, which passes one filter but is collapsed into a valid tag, as demonstrated using %0b.

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.
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