{"id":"CVE-2012-5785","aliases":["EUVD-2022-5659","GHSA-wwq7-pxwc-p4rc"],"status":"published","title":"Apache Axis2 has Improper Input Validation","description":"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.","severity":{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02225,"percentile":0.82831,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2012-11-04T22:00:00Z","modified":"2026-06-16T23:47:20Z","fixes":[{"ecosystem":"Maven","package":"org.apache.axis2:axis2","fixed_in":["1.8.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.axis2:axis2-transport-http","fixed_in":["1.8.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.axis2:axis2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.axis2:axis2-transport-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.axis2:axis2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}]}],"versions":["1.1","1.1.1","1.2","1.3","1.4","1.4.1","1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.axis2:axis2-transport-http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0"}]}],"versions":["1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9"]}],"products":[{"vendor":"apache","product":"axis2"}],"references":[{"url":"http://secunia.com/advisories/51219","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79830","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/56408","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf","tags":["x_refsource_MISC","x_transferred","Exploit","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5785","tags":["advisory"]},{"url":"https://issues.apache.org/jira/browse/AXIS2-6018","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wwq7-pxwc-p4rc"},{"url":"https://github.com/apache/axis-axis2-java-core","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2012-5785","description":"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.","status":"published","published":"2012-11-04T22:00:00Z","modified":"2024-08-06T21:14:16.347Z","updated_at":"2026-11-02T14:34:49.600255Z"}],"euvd":[{"id":"EUVD-2022-5659","description":"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.","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-wwq7-pxwc-p4rc","title":"Apache Axis2 has Improper Input Validation","description":"Apache Axis2/Java 1.7.9 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.","status":"published","published":"2022-05-17T01:38:56Z","modified":"2025-12-04T22:13:36Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:39:11.110487Z"}],"nvd":[{"id":"CVE-2012-5785","description":"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.","status":"published","published":"2012-11-04T22:55:03.39Z","modified":"2026-06-16T23:47:20.057Z","cvss":[{"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-20"],"updated_at":"2026-11-02T14:02:16.536025Z"}],"osv":[{"id":"GHSA-wwq7-pxwc-p4rc","title":"Apache Axis2 has Improper Input Validation","description":"Apache Axis2/Java 1.7.9 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.","status":"published","published":"2022-05-17T01:38:56Z","modified":"2025-12-04T22:41:45.024009Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:59.131095Z"}]}}
