CVE-2012-5785

Summary

CVECVE-2012-5785
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-11-04 22:55:03 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionApache Axis2/Java 1.6.2 and earlier 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.

Risk And Classification

Primary CVSS: v2.0 5.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:N

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:P/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Axis2 1.5.1 All All All
Application Apache Axis2 1.5.2 All All All
Application Apache Axis2 1.5.3 All All All
Application Apache Axis2 1.5.4 All All All
Application Apache Axis2 1.5.5 All All All
Application Apache Axis2 1.5.6 All All All
Application Apache Axis2 1.6 All All All
Application Apache Axis2 1.6.1 All All All
Application Apache Axis2 All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Security Advisory SA51219 - Apache Axis SSL Certificate Verification Security Issue - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Apache Axis and Axis2/Java SSL Certificate Validation Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
www.cs.utexas.edu/~shmat/shmat_ccs12.pdf af854a3a-2127-422b-91ae-364da2661108 www.cs.utexas.edu Exploit
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report