Skip to content

No verification that the server hostname matches a domain

Low
202-ecommerce published GHSA-f3q7-2fgj-3qgg Dec 16, 2022

Package

paypal (PrestaShop)

Affected versions

<2.8

Patched versions

None

Description

The PayPal module in PrestaShop does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to use of the PHP fsockopen function.

http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf

Severity

Low

CVE ID

CVE-2012-5801

Weaknesses

No CWEs