PHP PEAR official site hacked, tainted package manager distributed for 6 months

Haythem Elmir

PHP PEAR official site hacked, attackers replaced legitimate version of the package manager with a tainted version in the past 6 months.

Bad news for users that have downloaded the PHP PEAR package manager from the official website in the past 6 months because hackers have replaced it with a tainted version.

The PHP Extension and Application Repository (PEAR) is a framework and distribution system that allows anyone to search and download free 
packages written in PHP programming language.

Last week, the maintainers at PEAR took down the official website because hackers have replaced the legitimate PHP PEAR package manager (go-pear.phar) with a malicious version in the core PEAR file system. 
Maintainers pointed out that the GitHub copy of go-pear.phar is not compromised.

“A security breach has been found on the webserver, with a tainted go-pear.phardiscovered. The PEAR website itself has been disabled until a known clean site can be rebuilt. A more detailed announcement will be on the PEAR Blog once it’s back online.” reads a security alertpublished by the admins last week.

Hackers compromised the website at least six months ago, the investigation is still ongoing. PEAR maintainers are working to determine how hackers breached the server and how many users have been impacted.

The PEAR download manager (go-pear.phar) is pre-installed for Unix/Linux/BSD systems, meanwhileWindows and Mac OS X users need to manually install it. 

The hack could have a significant impact on a large number of websites because many web hosting providers allow running PEAR.

php pear logo

PEAR maintainers have released a clean version 1.10.10 of pearweb_phars on Github.

“This is a fresh release to assist in clearing up the issue with tainted file go-pear.phar that was discovered on the server. There were no code changes between v1.10.9 and v1.10.10.” reads the release note.


Laisser un commentaire

Next Post

Critical RCE Flaw in Linux APT Allows Remote Attackers to Hack Systems

Some cybersecurity experts this week arguing over Twitter in favor of not using HTTPS and suggesting software developers to only rely on signature-based package verification, just because APT on Linux also does the same. Ironically, a security researcher just today revealed details of a new critical remote code execution flaw in […]