NVD Vulnerability Detail
Search Exploit, PoC
CVE-2010-1868
Summary

The (1) sqlite_single_query and (2) sqlite_array_query functions in ext/sqlite/sqlite.c in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to execute arbitrary code by calling these functions with an empty SQL query, which triggers access of uninitialized memory.

Publication Date May 8, 2010, 8 a.m.
Registration Date Jan. 29, 2021, 11:01 a.m.
Last Update May 11, 2010, 1 p.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:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.11:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.12:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.13:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.3.2:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PHP の sqlite_single_query および sqlite_array_query 関数における任意のコードを実行される脆弱性
Title PHP の sqlite_single_query および sqlite_array_query 関数における任意のコードを実行される脆弱性
Summary

PHP の ext/sqlite/sqlite.c 内にある sqlite_single_query および sqlite_array_query 関数には、空の SQL クエリに関する処理に不備があるため、任意のコードを実行される脆弱性が存在します。

Possible impacts 攻撃者により、初期化されていないメモリ領域へのアクセスを誘発する、空の SQL クエリを付与された sqlite_single_query および sqlite_array_query 関数を呼び出され、任意のコードを実行される可能性があります。
Solution

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

Publication Date May 7, 2010, midnight
Registration Date Aug. 18, 2010, 6:26 p.m.
Last Update Aug. 18, 2010, 6:26 p.m.
Affected System
The PHP Group
PHP 5.2.13 およびそれ以前
PHP 5.3.2 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2010年08月18日]
  掲載
Feb. 17, 2018, 10:37 a.m.