CVE-2012-5799

PrestaShop Canada Post Module - Server Certificate Hostname Validation Bypass via fsockopen

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

EPSS 0.0076
EPSS Percentile 50.9%

Details

CWE
CWE-20
Status published
Products (2)
prestashop/prestashop
presto-changeo/canadapost
Published Nov 04, 2012
Tracked Since Feb 18, 2026