CVE-2012-5799: Input Validation

Published Nov 4, 2012
·
Updated

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.

Affected Software

2 affected components
Prestashop PrestaShop
Presto-changeo Canadapost

Event History

Nov 4, 2012
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-5799?

CVE-2012-5799 is classified as a medium severity vulnerability.

2

How do I fix CVE-2012-5799?

To fix CVE-2012-5799, ensure that the Canada Post module is updated to the latest version that implements proper SSL hostname verification.

3

What types of attacks can exploit CVE-2012-5799?

CVE-2012-5799 can be exploited by man-in-the-middle attackers who can spoof SSL servers using valid certificates.

4

Which versions of PrestaShop are affected by CVE-2012-5799?

CVE-2012-5799 affects all versions of PrestaShop that include the vulnerable Canada Post module.

5

Is CVE-2012-5799 a critical vulnerability?

CVE-2012-5799 is not categorized as critical but poses risks to data security and integrity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203