What’s Vulnerable › Vulnerabilities
CVE-2012-5787
- Severity: medium (CVSS 5.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2012-11-04 · updated 2026-06-16
- Weakness: CWE-20
Description
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.
Affected products
- PayPal Merchant Sdk: all versions
References
- http://secunia.com/advisories/51184
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- http://www.securityfocus.com/bid/56445
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79913
- https://github.com/paypal/SDKs/commit/5f2d6dd77fb4211dcde34e36f1864234526c5d64
- http://secunia.com/advisories/51184
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- http://www.securityfocus.com/bid/56445
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79913
- https://github.com/paypal/SDKs/commit/5f2d6dd77fb4211dcde34e36f1864234526c5d64
Get alerted when CVE-2012-5787 or the next vulnerability affects your stack