{"cve":"CVE-2012-5785","nvd":{"published":"2012-11-04T22:55:03.390","modified":"2026-06-16T23:47:20.057","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-20"],"references":["http://secunia.com/advisories/51219","http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf","http://www.securityfocus.com/bid/56408","https://exchange.xforce.ibmcloud.com/vulnerabilities/79830","http://secunia.com/advisories/51219"],"products":["apache:axis2"],"source":"nvd","synced_at":"2026-10-19T20:25:53.526315492+00:00"},"epss":{"cve":"CVE-2012-5785","score":0.02225,"percentile":0.82714,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wwq7-pxwc-p4rc","url":"https://osv.dev/vulnerability/GHSA-wwq7-pxwc-p4rc","summary":"Apache Axis2 has Improper Input Validation","modified":"2025-12-04T22:41:45.024009Z","packages":[{"ecosystem":"Maven","name":"org.apache.axis2:axis2","purl":"pkg:maven/org.apache.axis2/axis2","ranges":["<1.8.0"],"fixed":["1.8.0"]},{"ecosystem":"Maven","name":"org.apache.axis2:axis2-transport-http","purl":"pkg:maven/org.apache.axis2/axis2-transport-http","ranges":["<1.8.0"],"fixed":["1.8.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}