PT-2012-2215 · Google · Google-Checkout-Php-Sample-Code
Published
2012-11-06
·
Updated
2012-11-06
·
CVE-2011-5238
CVSS v2.0
5.8
Medium
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
google-checkout-php-sample-code versions prior to 1.3.2
Description
The issue arises from the failure to verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate. This allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
Recommendations
For versions prior to 1.3.2, update to version 1.3.2 or later to resolve the issue. As a temporary workaround, consider implementing certificate validation to ensure the server hostname matches the domain name in the certificate.
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Google-Checkout-Php-Sample-Code