| Summary | The escapeshellarg function in ext/standard/exec.c in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 on Windows allows remote attackers to execute arbitrary OS commands via a crafted string to an application that accepts command-line arguments for a call to the PHP system function. |
|---|---|
| Publication Date | May 16, 2016, 7:59 p.m. |
| Registration Date | Jan. 26, 2021, 2:51 p.m. |
| Last Update | Nov. 21, 2024, 11:31 a.m. |
| CVSS3.0 : CRITICAL | |
| スコア | 9.8 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| CVSS2.0 : HIGH | |
| Score | 10.0 |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| Get all privileges. | いいえ |
| Get user privileges | いいえ |
| Get other privileges | いいえ |
| User operation required | いいえ |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.4.41 | ||||
| cpe:2.3:a:php:php:5.5.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.4:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.5:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.6:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.7:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.8:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.9:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.10:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.11:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.12:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.13:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.14:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.15:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.16:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.17:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.18:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.19:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.20:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.21:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.22:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.23:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.24:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.5.25:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:* | |||||
| Title | Windows 版 PHP における OS コマンドインジェクションの脆弱性 |
|---|---|
| Summary | Windows 版 PHP には、escapeshellarg 関数の処理に起因する OS コマンドインジェクションの脆弱性が存在します。 この脆弱性情報は、情報セキュリティ早期警戒パートナーシップに基づき下記の方が IPA に報告し、JPCERT/CC が開発者との調整を行いました。 報告者: Masahiro Yamada 氏 |
| Possible impacts | 細工されたパラメータを escapeshellarg 関数に処理させることで、任意の OS コマンドを実行させられる可能性があります。 |
| Solution | [パッチを適用する] 開発者が提供する情報をもとにパッチを適用してください。 |
| Publication Date | July 17, 2015, midnight |
| Registration Date | July 17, 2015, 12:36 p.m. |
| Last Update | May 19, 2016, 5:39 p.m. |
| The PHP Group |
| PHP (Windows 版) 5.4.42 より前のバージョン |
| PHP (Windows 版) 5.5.26 より前のバージョン |
| PHP (Windows 版) 5.6.10 より前のバージョン |
| No | Changed Details | Date of change |
|---|---|---|
| 0 | [2015年07月17日] 掲載 [2015年07月22日] 参考情報:IPA 重要なセキュリティ情報 (Windows 版「PHP」におけるOSコマンド・インジェクションの脆弱性対策について(JVN#73568461) を追加 [2015年07月30日] ベンダ情報:ターボリナックス (TLSA-2015-15) を追加 [2016年05月19日] 参考情報:National Vulnerability Database (NVD) (CVE-2015-4642) を追加 ベンダ情報:The PHP Group (Fix bug #69646 OS command injection vulnerability in escapeshellarg) を追加 |
Feb. 17, 2018, 10:37 a.m. |