PHP up to 7.2.27/7.3.14/7.4.2 Phar Archive buildFromIterator permissions
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.2 | $0-$5k | 0.00 |
A vulnerability, which was classified as critical, was found in PHP up to 7.2.27/7.3.14/7.4.2 (Programming Language Software). This affects the function PharData::buildFromIterator
of the component Phar Archive Handler. The manipulation with an unknown input leads to a permissions vulnerability. CWE is classifying the issue as CWE-281. The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was disclosed 02/27/2020. This vulnerability is uniquely identified as CVE-2020-7063 since 01/15/2020. An attack has to be approached locally. The successful exploitation requires a authentication. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1222 for this issue.
Upgrading to version 7.2.28, 7.3.15 or 7.4.3 eliminates this vulnerability.
The entries 150715 and 150716 are pretty similar.
Product
Type
Name
Version
- 7.2.0
- 7.2.1
- 7.2.2
- 7.2.3
- 7.2.4
- 7.2.5
- 7.2.6
- 7.2.7
- 7.2.8
- 7.2.9
- 7.2.10
- 7.2.11
- 7.2.12
- 7.2.13
- 7.2.14
- 7.2.15
- 7.2.16
- 7.2.17
- 7.2.18
- 7.2.19
- 7.2.20
- 7.2.21
- 7.2.22
- 7.2.23
- 7.2.24
- 7.2.25
- 7.2.26
- 7.2.27
- 7.3.0
- 7.3.1
- 7.3.2
- 7.3.3
- 7.3.4
- 7.3.5
- 7.3.6
- 7.3.7
- 7.3.8
- 7.3.9
- 7.3.10
- 7.3.11
- 7.3.12
- 7.3.13
- 7.3.14
- 7.4.0
- 7.4.1
- 7.4.2
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 4.8
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CNA Base Score: 5.5
CNA Vector (PHP Group): 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: PermissionsCWE: CWE-281 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 7.2.28/7.3.15/7.4.3
Timeline
01/15/2020 🔍02/27/2020 🔍
02/28/2020 🔍
04/07/2024 🔍
Sources
Product: php.orgAdvisory: 79082
Status: Not defined
CVE: CVE-2020-7063 (🔍)
See also: 🔍
Entry
Created: 02/28/2020 15:38Updated: 04/07/2024 13:10
Changes: 02/28/2020 15:38 (38), 02/28/2020 15:43 (12), 04/07/2024 13:03 (18), 04/07/2024 13:10 (20)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.