CVE-2012-5799

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
04/11/2012
Last modified:
11/04/2025

Description

The Canada Post (aka CanadaPost) 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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:prestashop:prestashop:-:*:*:*:*:*:*:*
cpe:2.3:a:presto-changeo:canadapost:-:*:*:*:*:*:*:*