CWE
20
Advisory Published
CVE Published
Updated

CVE-2012-5801: Input Validation

First published: Sun Nov 04 2012(Updated: )

The PayPal 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Prestashop Ebay Module
Prestashop

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-5801?

    CVE-2012-5801 has a medium severity rating due to its potential for man-in-the-middle attacks.

  • How do I fix CVE-2012-5801?

    To fix CVE-2012-5801, ensure that your PrestaShop configuration uses a strict hostname verification method for SSL certificates.

  • What systems are affected by CVE-2012-5801?

    CVE-2012-5801 affects specific versions of the PayPal module in PrestaShop and potentially others if they do not validate SSL certificates properly.

  • What type of attack does CVE-2012-5801 allow?

    CVE-2012-5801 allows man-in-the-middle attackers to spoof SSL servers, compromising the security of data transmitted.

  • Has CVE-2012-5801 been patched?

    Yes, later versions of PrestaShop have addressed CVE-2012-5801, so it's important to update to the latest version.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203