CVE-2012-5799
PrestaShop Canada Post Module - Server Certificate Hostname Validation Bypass via fsockopen
Title source: llmDescription
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
Exploit x_refsource_misc
http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
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