{"id":"CVE-2012-5799","aliases":["EUVD-2012-5679","GHSA-7g8h-x7qg-cg7m"],"status":"published","title":"The Canada Post (aka CanadaPost) module in PrestaShop does not verify that the server hostname...","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.","severity":{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00759,"percentile":0.55518,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2012-11-04T22:00:00Z","modified":"2026-06-16T23:47:21Z","products":[{"vendor":"prestashop","product":"prestashop"},{"vendor":"presto-changeo","product":"canadapost"}],"references":[{"url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5799"},{"url":"https://github.com/advisories/GHSA-7g8h-x7qg-cg7m"}],"sources":{"cve":[{"id":"CVE-2012-5799","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.","status":"published","published":"2012-11-04T22:00:00Z","modified":"2024-09-17T02:57:15.601Z","updated_at":"2026-11-02T14:34:49.600255Z"}],"euvd":[{"id":"EUVD-2012-5679","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.","status":"published","published":"2012-11-04T22:00:00Z","modified":"2024-09-17T02:57:15Z","updated_at":"2026-11-03T00:28:35.984836Z"}],"ghsa":[{"id":"GHSA-7g8h-x7qg-cg7m","title":"The Canada Post (aka CanadaPost) module in PrestaShop does not verify that the server hostname...","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.","status":"published","published":"2022-05-17T05:19:28Z","modified":"2023-01-28T05:03:31Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:43:59.810751Z"}],"nvd":[{"id":"CVE-2012-5799","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.","status":"published","published":"2012-11-04T22:55:03.967Z","modified":"2026-06-16T23:47:21.68Z","cvss":[{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:16.536025Z"}]}}
