PHAR Case-Bypass Unserialization in PEAR Archive_Tar
PEAR Archive_Tar through version 1.4.10 is vulnerable to an unserialization attack because its filtering blocks the lowercase phar: stream-wrapper prefix but does not block the uppercase PHAR: variant. This case-sensitive bypass can permit malicious archive content to reach PHP PHAR processing in affected applications.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
In Drupal deployments configured to accept and process applicable archive uploads, exploitation of the affected PEAR Archive_Tar library can result in arbitrary PHP code execution.
If you can’t patch tonight, do this now.
Until fixed software is deployed, prevent untrusted users from uploading tar-based archive formats that the application processes.
Patch, then assume compromise.
Upgrade Drupal core to a fixed release: 7.75 or later in the 7.x line, 8.8.12 or later in the 8.8.x line, 8.9.10 or later in the 8.9.x line, or 9.0.9 or later in the 9.0.x line. Rocky Linux 8 systems should apply the Archive_Tar security updates addressed by CIQ advisory crlsa-2022_6542.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.