CVE-2020-7063
Summary
| CVE | CVE-2020-7063 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-02-27 21:15:00 UTC |
| Updated | 2022-05-08 23:50:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-281
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Opensuse | Leap | 15.1 | All | All | All |
| Application | Php | Php | All | All | All | All |
| Application | Php | Php | All | All | All | All |
| Application | Php | Php | All | All | All | All |
| Application | Tenable | Tenable.sc | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] [DLA 2160-1] php5 security update | MLIST | lists.debian.org | |
| PHP :: Sec Bug #79082 :: Files added to tar with Phar::buildFromIterator have all-access permissions | MISC | bugs.php.net | Exploit, Vendor Advisory |
| Debian -- Security Information -- DSA-4719-1 php7.3 | DEBIAN | www.debian.org | |
| [security-announce] openSUSE-SU-2020:0341-1: important: Security update | SUSE | lists.opensuse.org | |
| PHP: Multiple vulnerabilities (GLSA 202003-57) — Gentoo security | GENTOO | security.gentoo.org | |
| [R1] Tenable.sc 5.19.0 Fixes Multiple Third-party Vulnerabilities - Security Advisory | Tenable® | CONFIRM | www.tenable.com | |
| USN-4330-1: PHP vulnerabilities | Ubuntu security notices | Ubuntu | UBUNTU | usn.ubuntu.com | |
| Debian -- Security Information -- DSA-4717-1 php7.0 | DEBIAN | www.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Reported by dr at loopia dot rs