NVD Vulnerability Detail
Search Exploit, PoC
CVE-2015-6527
Summary

The php_str_replace_in_subject function in ext/standard/string.c in PHP 7.x before 7.0.0 allows remote attackers to execute arbitrary code via a crafted value in the third argument to the str_ireplace function.

Publication Date Jan. 19, 2016, 2:59 p.m.
Registration Date Jan. 26, 2021, 2:54 p.m.
Last Update Nov. 21, 2024, 11:35 a.m.
CVSS3.1 : HIGH
スコア 7.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
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:7.0.0:-:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:beta2:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:beta3:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:rc3:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:rc4:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:rc5:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:rc6:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:rc7:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:rc8:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PHP の ext/standard/string.c の php_str_replace_in_subject 関数における任意のコードを実行される脆弱性
Title PHP の ext/standard/string.c の php_str_replace_in_subject 関数における任意のコードを実行される脆弱性
Summary

PHP の ext/standard/string.c の php_str_replace_in_subject 関数には、任意のコードを実行される脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-17: Code (コード) と識別されています。 http://cwe.mitre.org/data/definitions/17.html

Possible impacts 第三者により、str_ireplace 関数の第三引数の巧妙に細工された値を介して、任意のコードを実行される可能性があります。
Solution

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

Publication Date Dec. 3, 2015, midnight
Registration Date Jan. 26, 2016, 3:25 p.m.
Last Update Jan. 26, 2016, 3:25 p.m.
Affected System
The PHP Group
PHP 7.0.0 未満の 7.x
PHP 7.0.0 未満の 7.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2016年01月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.
0 [2016年01月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.