VULNERABILITY INTELLIGENCE

CVE-2012-5799

CVSS score5.8 MEDIUM
EPSS probability0.76%
CISA KEVNot currently listed
Published2012-11-04
Last modified2026-06-16
CVSS vectorAV:N/AC:M/Au:N/C:P/I:P/A:N

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.

Weakness classification

  • CWE-20: Improper Input Validation

Primary references