Apache 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.
{
"cwe_ids": [
"CWE-20"
],
"nvd_published_at": "2012-11-04T22:55:00Z",
"github_reviewed": true,
"severity": "MODERATE",
"github_reviewed_at": "2022-07-12T22:27:16Z"
}