ADVISORIES

GitHub Advisory Database

GHSA-wvpg-4wrh-5889

PrestaShop Checkout Target PayPal merchant account hijacking from backoffice

Details

Impact

Wrong usage of the PHP array_search() allows bypass of validation.

Patches

The problem has been patched in versions:

  • v4.4.1 for PrestaShop 1.7 (build number: 7.4.4.1)
  • v4.4.1 for PrestaShop 8 (build number: 8.4.4.1)
  • v5.0.5 for PrestaShop 1.7 (build number: 7.5.0.5)
  • v5.0.5 for PrestaShop 8 (build number: 8.5.0.5)
  • v5.0.5 for PrestaShop 9 (build number: 9.5.0.5)

Read the Versioning policy to learn more about the build number.

Credits

Léo CUNÉAZ reported this issue.

Affected packages

EcosystemPackageAffected versions
Packagistprestashop/ps_checkout
All versions before 4.4.1 (fixed in 4.4.1)
Packagistprestashop/ps_checkout
From 5.0.0 before 5.0.5 (fixed in 5.0.5)

References