CVE-2012-5785
MEDIUM 5.8CVSS 2.0Apache Axis2 has Improper Input Validation
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.
- Published
- 4 Nov 2012
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-wwq7-pxwc-p4rc
- Sources
- NVDJSONOSV GHSA-wwq7-pxwc-p4rcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | axis2cpe:2.3:a:apache:axis2:*:*:*:*:*:*:*:* |
<= 1.6.2 | |
| NVD | apache | axis2cpe:2.3:a:apache:axis2:1.5.1:*:*:*:*:*:*:* |
= 1.5.1 | |
| NVD | apache | axis2cpe:2.3:a:apache:axis2:1.5.2:*:*:*:*:*:*:* |
= 1.5.2 | |
| NVD | apache | axis2cpe:2.3:a:apache:axis2:1.5.3:*:*:*:*:*:*:* |
= 1.5.3 | |
| NVD | apache | axis2cpe:2.3:a:apache:axis2:1.5.4:*:*:*:*:*:*:* |
= 1.5.4 | |
| NVD | apache | axis2cpe:2.3:a:apache:axis2:1.5.5:*:*:*:*:*:*:* |
= 1.5.5 | |
| NVD | apache | axis2cpe:2.3:a:apache:axis2:1.5.6:*:*:*:*:*:*:* |
= 1.5.6 | |
| NVD | apache | axis2cpe:2.3:a:apache:axis2:1.6:*:*:*:*:*:*:* |
= 1.6 | |
| NVD | apache | axis2cpe:2.3:a:apache:axis2:1.6.1:*:*:*:*:*:*:* |
= 1.6.1 | |
| OSV | Maven | org.apache.axis2:axis2 | < 1.8.0 | 1.8.0 |
| OSV | Maven | org.apache.axis2:axis2-transport-http | < 1.8.0 | 1.8.0 |
References
- http://secunia.com/advisories/51219
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf · Exploit, WEB
- http://www.securityfocus.com/bid/56408
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79830 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-5785 · ADVISORY
- https://github.com/apache/axis-axis2-java-core · PACKAGE
- https://issues.apache.org/jira/browse/AXIS2-6018 · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 4 Nov 2012)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)