Malicious Package Affecting hautelook/phpass Open this link in a new tab package, versions >1.1.0


0.0
critical
  • Exploit Maturity

    Mature

  • Attack Complexity

    Low

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-PHP-HAUTELOOKPHPASS-2847855

  • published

    25 May 2022

  • disclosed

    25 May 2022

  • credit

    Somdev Sangwan

Introduced: 25 May 2022

Malicious CWE-506 Open this link in a new tab

How to fix?

There is no fixed version for hautelook/phpass.

Overview

hautelook/phpass is a malicious package. Recent versions were released with malicious code that sends AWS tokens to a heroku URL. All tainted versions have now been removed from Packagist. Note: To remediate this vulnerability, make sure that you're not using any version higher than 1.1.0.

Update

As of May 25th a security researcher has claimed responsibility for this attack as a "demonstration" of how it is possible to takeover packages in package managers. They claim that all user data collected was deleted and no use was made of the data collected by the attack.

The active collection of this type of sensitive user data for "demonstration" purposes is still problematic, and not an act Snyk would normally associate as part of a responsible disclosure process.