PEAR · Archive_Tar
CVE-2020-28949
PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability
What it is
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.
Am I affected?
Only if you run PEAR Archive_Tar, or a service built on it, in a version the vendor lists as affected. The vendor's advisory in the references gives the affected and fixed versions.
CISA adds a vulnerability to this list only when there is reliable evidence of attacks using it, so treat it as urgent if you run an affected version.
What to do
- Find out whether you run Archive_Tar, and which version, including on hosting or services you don't manage day to day.
- Apply the vendor's update or mitigation from the advisory below. If there is none yet, follow the vendor's workaround, or take the product off the internet until it's fixed.
- Because this is being exploited, check the system for signs it was already compromised before you patched: unknown accounts, changed files, and unusual outbound connections.
CISA's required action
Apply updates per vendor instructions.
US federal agencies must act by 15 September 2022.
References
- pear.php.net · https://pear.php.net/bugs/bug.php?id=27002,
- NVD — CVE-2020-28949
Check your own site
A free scan checks your site's HTTPS, headers, cookies, exposed keys and malware signs, with the fix for each issue.