Exploited vulnerabilities · PEAR
CVE-2020-28949
PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability
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.
Description in the NVD
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.
Required action according to CISA
Apply updates per vendor instructions.
What to do now
- Check your exposureFind out whether PEAR Archive_Tar runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- nvd.nist.gov/vuln/detail/CVE-2020-28949
- github.com/pear/Archive_Tar/issues/33
- github.com/pear/Archive_Tar/commit/0670a05fdab997036a3fc3ef113b8f5922e574da
- lists.debian.org/debian-lts-announce/2020/11/msg00045.html
- security.gentoo.org/glsa/202101-23
- www.debian.org/security/2020/dsa-4817
- www.drupal.org/sa-core-2020-013
- github.com/FriendsOfPHP/security-advisories/blob/master/pear/archive_tar/CVE-2020-28949.ya
- nvd.nist.gov/vuln/detail/CVE-2020-28949
More exploited vulnerabilities in PEAR products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.