NVD Vulnerability Detail
Search Exploit, PoC
CVE-2020-7063
Summary

In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesystem were with more restrictive permissions. This may result in files having more lax permissions than intended when such archive is extracted.

Publication Date Feb. 28, 2020, 6:15 a.m.
Registration Date Jan. 26, 2021, noon
Last Update Nov. 21, 2024, 2:36 p.m.
CVSS3.1 : MEDIUM
スコア 5.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 5.0
Vector AV:N/AC:L/Au:N/C:N/I:P/A:N
攻撃元区分(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.2.0 7.2.27
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 7.3.0 7.3.14
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 7.4.0 7.4.2
Configuration2 or higher or less more than less than
cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* 5.19.0
Configuration3 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PHP におけるパーミッションの不適切な保持に関する脆弱性
Title PHP におけるパーミッションの不適切な保持に関する脆弱性
Summary

PHP には、パーミッションの不適切な保持に関する脆弱性が存在します。

Possible impacts 情報を改ざんされる可能性があります。
Solution

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

Publication Date Jan. 8, 2020, midnight
Registration Date March 9, 2020, 4:38 p.m.
Last Update March 9, 2020, 4:38 p.m.
Affected System
The PHP Group
PHP 7.2.28 未満の 7.2.x
PHP 7.3.15 未満の 7.3.x
PHP 7.4.3 未満の 7.4.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2020年03月09日]
  掲載
March 9, 2020, 4:38 p.m.