CVE-2012-5785

Exp

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: 2012-11-04 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-5785 is rated High Exploit Risk (60.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.49%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2012-5785

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2012-5785

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-06-24 0.42% 0.49% +0.07%
2 2025-03-30 0.68% 0.42% -0.26%
3 2025-03-29 0.68%

Full EPSS history (6 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-5785

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
8.6 4.9 [email protected]

Weakness enumeration for CVE-2012-5785

GitHub Security Advisory for CVE-2012-5785

GHSA-wwq7-pxwc-p4rc · Severity: medium · Ecosystem: maven — Apache Axis2 has Improper Input Validation

OS Trackers for CVE-2012-5785

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2012-5785

Affected software / configurations for CVE-2012-5785

Vendor Product Version Raw CPE
apache axis2 <= 1.6.2 cpe:2.3:a:apache:axis2:*:*:*:*:*:*:*:*
apache axis2 1.5.1 cpe:2.3:a:apache:axis2:1.5.1:*:*:*:*:*:*:*
apache axis2 1.5.2 cpe:2.3:a:apache:axis2:1.5.2:*:*:*:*:*:*:*
apache axis2 1.5.3 cpe:2.3:a:apache:axis2:1.5.3:*:*:*:*:*:*:*
apache axis2 1.5.4 cpe:2.3:a:apache:axis2:1.5.4:*:*:*:*:*:*:*
apache axis2 1.5.5 cpe:2.3:a:apache:axis2:1.5.5:*:*:*:*:*:*:*
apache axis2 1.5.6 cpe:2.3:a:apache:axis2:1.5.6:*:*:*:*:*:*:*
apache axis2 1.6 cpe:2.3:a:apache:axis2:1.6:*:*:*:*:*:*:*
apache axis2 1.6.1 cpe:2.3:a:apache:axis2:1.6.1:*:*:*:*:*:*:*

References for CVE-2012-5785

cvelogic Threat Intelligence