{"id":"CVE-2012-5817","aliases":["EUVD-2022-2609","GHSA-5jc8-8xhv-g8qm"],"status":"published","title":"Improper Input Validation in XFire","description":"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":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00778,"percentile":0.5611,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20","CWE-295"],"published":"2012-11-04T22:00:00Z","modified":"2026-06-16T23:47:23Z","affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.codehaus.xfire:xfire-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.2.6"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.codehaus.xfire:xfire-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.2.6"}]}],"versions":["1.0","1.0-M5","1.0-RC1","1.1","1.1-RC1","1.1-beta-1","1.1.1","1.1.2","1.2","1.2-RC","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6"]}],"products":[{"vendor":"amazon","product":"ec2_api_tools_java_library"},{"vendor":"codehaus","product":"xfire"}],"references":[{"url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf","tags":["x_refsource_MISC","x_transferred","Exploit","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79934","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5817","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5jc8-8xhv-g8qm"}],"sources":{"cve":[{"id":"CVE-2012-5817","description":"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.","status":"published","published":"2012-11-04T22:00:00Z","modified":"2024-08-06T21:14:16.382Z","updated_at":"2026-11-02T14:34:49.600255Z"}],"euvd":[{"id":"EUVD-2022-2609","description":"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.","status":"published","published":"2012-11-04T22:00:00Z","modified":"2024-08-06T21:14:16Z","updated_at":"2026-11-03T01:56:04.024018Z"}],"ghsa":[{"id":"GHSA-5jc8-8xhv-g8qm","title":"Improper Input Validation in XFire","description":"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.","status":"published","published":"2022-05-17T01:38:40Z","modified":"2026-03-21T05:37:00Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-20","CWE-295"],"updated_at":"2026-11-02T14:39:40.633038Z"}],"nvd":[{"id":"CVE-2012-5817","description":"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.","status":"published","published":"2012-11-04T22:55:04.67Z","modified":"2026-06-16T23:47:23.64Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:02:16.536025Z"}],"osv":[{"id":"GHSA-5jc8-8xhv-g8qm","title":"Improper Input Validation in XFire","description":"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.","status":"published","published":"2022-05-17T01:38:40Z","modified":"2024-02-16T08:23:24.669561Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-20","CWE-295"],"updated_at":"2026-11-02T15:46:38.553953Z"}]}}
