PEAR Archive_Tar allows an unserialization attack because phar: is blocked but PHAR: is not blocked. PEAR stands for PHP Extension and Application Repository and it is an open-source framework and distribution system for reusable PHP components with known usage in third-party products such as Drupal Core and Red Hat Linux.
In het kort
CVE-2020-28949 (PEAR Archive_Tar Deserialization of Untrusted Data) heeft een CVSS 3.1-basisscore van 7.8, beoordeeld als hoog. CISA heeft deze op 25 aug 2022 toegevoegd aan de catalogus van actief misbruikte kwetsbaarheden. Opgelost in Drupal 7.75, PHP Archive Tar 1.4.12 of later.
Beschrijving
Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as file:// to overwrite files) can still succeed.
CVSS 3.1-ontleding
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HGetroffen producten
- Drupal≥ 7.0 < 7.75 · ≥ 8.0.0 < 8.9.10 · ≥ 8.8.0 < 8.8.12 · ≥ 9.0.0 < 9.0.9
- PHP Archive Tar< 1.4.12
- Debian Linux10.0 · 9.0
- Fedoraproject Fedora32 · 33 · 34 · 35
Herstel
Opgelost in- Drupal≥ 7.75
- PHP Archive Tar≥ 1.4.12
Referenties
- http://packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html
- https://github.com/pear/Archive_Tar/issues/33
- https://lists.debian.org/debian-lts-announce/2020/11/msg00045.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4V35LBRM6HBCXBVCITKQ4UEBTXO2EG7B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBYZSHYTIOBK6V7C4N7TP6KIKCRKLVWP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/
- https://security.gentoo.org/glsa/202101-23
en nog 3 referenties
Gerelateerde CVE's
Misbruikte en kritieke kwetsbaarheden in hetzelfde product of van dezelfde leverancier.
Data uit de NVD, CISA KEV-catalogus en FIRST EPSS. De CVSS 4.0-basisscore wordt getoond als de NVD die heeft, anders CVSS 3.1.
