#VU17066 Deserialization of Untrusted Data in Archive_Tar - CVE-2018-1000888
Published: January 17, 2019 / Updated: June 17, 2021
Archive_Tar
PHP Group
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to insecure input validation when processing serialized data within tar files. A remote attacker can create a tar file with `phar://[path_to_malicious_phar_file]` as path and execute arbitrary code on the target system.
Remediation
External links
- https://blog.ripstech.com/2018/new-php-exploitation-technique/
- https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf
- https://pear.php.net/bugs/bug.php?id=23782
- https://pear.php.net/package/Archive_Tar/download/
- https://usn.ubuntu.com/3857-1/
- https://www.exploit-db.com/exploits/46108/