{"id":"GHSA-wwq7-pxwc-p4rc","summary":"Apache Axis2 has Improper Input Validation","details":"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.","aliases":["CVE-2012-5785"],"modified":"2025-12-04T22:41:45.024009Z","published":"2022-05-17T01:38:56Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-07-12T22:27:16Z","nvd_published_at":"2012-11-04T22:55:00Z","cwe_ids":["CWE-20"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5785"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79830"},{"type":"PACKAGE","url":"https://github.com/apache/axis-axis2-java-core"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/AXIS2-6018"},{"type":"WEB","url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf"}],"affected":[{"package":{"name":"org.apache.axis2:axis2","ecosystem":"Maven","purl":"pkg:maven/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wwq7-pxwc-p4rc/GHSA-wwq7-pxwc-p4rc.json"}},{"package":{"name":"org.apache.axis2:axis2-transport-http","ecosystem":"Maven","purl":"pkg:maven/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wwq7-pxwc-p4rc/GHSA-wwq7-pxwc-p4rc.json"}}],"schema_version":"1.9.0"}