製品・ソフトウェアに関する情報
PHP の utf8_decode 関数におけるクロスサイトスクリプティングおよび SQL インジェクションに対する保護メカニズムを回避される脆弱性
Title PHP の utf8_decode 関数におけるクロスサイトスクリプティングおよび SQL インジェクションに対する保護メカニズムを回避される脆弱性
Summary

PHP の utf8_decode 関数は、過度に長い形式の UTF-8 エンコーディングおよび UTF-8 データ内にある ill-formed サブシーケンスを適切に処理しないため、クロスサイトスクリプティングおよび SQL インジェクションに対する保護メカニズムを回避される脆弱性が存在します。

Possible impacts 第三者により、巧妙に細工された文字列を介して、クロスサイトスクリプティングおよび SQL インジェクションに対する保護メカニズムを回避される可能性があります。
Solution

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

Publication Date Sept. 27, 2009, midnight
Registration Date Dec. 22, 2010, 2:03 p.m.
Last Update April 4, 2011, 2:29 p.m.
CVSS2.0 : 警告
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Affected System
レッドハット
Red Hat Enterprise Linux 4 (as)
Red Hat Enterprise Linux 4 (es)
Red Hat Enterprise Linux 4 (ws)
Red Hat Enterprise Linux 4.8 (as)
Red Hat Enterprise Linux 4.8 (es)
Red Hat Enterprise Linux 5 (server)
Red Hat Enterprise Linux Desktop 4.0
Red Hat Enterprise Linux Desktop 6
Red Hat Enterprise Linux HPC Node 6
Red Hat Enterprise Linux Server 6
Red Hat Enterprise Linux Workstation 6
RHEL Desktop Workstation 5 (client)
The PHP Group
PHP 5.3.4 未満
サイバートラスト株式会社
Asianux Server 3 (x86)
Asianux Server 3 (x86-64)
Asianux Server 3.0
Asianux Server 3.0 (x86-64)
アップル
Apple Mac OS X v10.6 から v10.6.6
Apple Mac OS X Server v10.6 から v10.6.6
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2010年12月22日]
  掲載
[2011年02月18日]
  影響を受けるシステム:レッドハット (RHSA-2011:0195) の情報を追加
  ベンダ情報:レッドハット (RHSA-2011:0195) を追加
[2011年04月04日]
  影響を受けるシステム:アップル (HT4581) の情報を追加
  ベンダ情報:アップル (HT4581) を追加
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2010-3870
Summary

The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string.

Publication Date Nov. 13, 2010, 6 a.m.
Registration Date Jan. 29, 2021, 11:07 a.m.
Last Update Nov. 21, 2024, 10:19 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.2.14
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.3.0 5.3.4
Configuration2 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_linux:10.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:9.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List