Live threats

All CVEs / Apache

CVE-2012-5785Apache Axis2

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Nov 4, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Axis2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.axis2:axis2 < 1.8.0 1.8.0 —
Maven org.apache.axis2:axis2-transport-http < 1.8.0 1.8.0 —

Per OSV / GitHub Advisories (GHSA-wwq7-pxwc-p4rc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheaxis2≤ 1.6.2
apacheaxis21.5.1
apacheaxis21.5.2
apacheaxis21.5.3
apacheaxis21.5.4
apacheaxis21.5.5
apacheaxis21.5.6
apacheaxis21.6
apacheaxis21.6.1

Official sources

References

Links published by the sources. Open them with care.