Codehaus XFire 1.2.6 and earlier, as used in the Amazon EC2 API Tools Java library and other products, 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.
{
"severity": "HIGH",
"github_reviewed": true,
"cwe_ids": [
"CWE-20",
"CWE-295"
],
"nvd_published_at": "2012-11-04T22:55:00Z",
"github_reviewed_at": "2022-07-12T22:17:46Z"
}