CVE-2012-5792: Input Validation

Published Nov 4, 2012
·
Updated

The Sage Pay Direct module in osCommerce 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 Software

2 affected components
osCommerce oscommerce
Sagepay Sage Pay Direct Module

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

CVE-2012-5792 is considered a high severity vulnerability due to the risk of man-in-the-middle attacks.

2

How do I fix CVE-2012-5792?

To fix CVE-2012-5792, ensure that the server hostname is verified against the domain name in the X.509 certificate's Common Name or subjectAltName.

3

Which products are affected by CVE-2012-5792?

CVE-2012-5792 affects osCommerce and the Sage Pay Direct module.

4

Can CVE-2012-5792 lead to data breaches?

Yes, CVE-2012-5792 can potentially lead to data breaches if exploited, as it allows attackers to spoof legitimate SSL servers.

5

Is there a workaround for CVE-2012-5792?

A potential workaround for CVE-2012-5792 is to configure your application to validate the hostname during SSL/TLS connections.

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