CWE
20
Advisory Published
Updated

CVE-2012-5787: Input Validation

First published: Sun Nov 04 2012(Updated: )

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

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PayPal merchant SDK

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-5787?

    CVE-2012-5787 is rated as a medium severity vulnerability due to the potential for man-in-the-middle attacks.

  • How do I fix CVE-2012-5787?

    To fix CVE-2012-5787, ensure that your implementation validates the server hostname against the X.509 certificate's Common Name or subjectAltName.

  • What types of attacks could exploit CVE-2012-5787?

    CVE-2012-5787 can be exploited for man-in-the-middle attacks, allowing attackers to intercept and modify SSL communications.

  • Which software is affected by CVE-2012-5787?

    CVE-2012-5787 affects the PayPal merchant SDK across all versions.

  • How does CVE-2012-5787 impact SSL security?

    CVE-2012-5787 undermines SSL security by allowing attackers to spoof valid certificates, thereby compromising encrypted communications.

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