CVE-2012-5784 Man-in-the-middle attack in Apache Axis

Medium 5.8 Published Updated

Man-in-the-middle attackers can spoof SSL servers due to missing hostname verification in Apache Axis, compromising secure communications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-5784?

CVE-2012-5784 is a medium-severity vulnerability in Apache Activemq, published on 4 Nov 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Axis 1.4 and earlier, as used in PayPal Payments Pro, PayPal Mass Pay, PayPal Transactional Information SOAP, the Java Message Service implementation in Apache ActiveMQ, and other products, 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.

Weakness: CWE-20

Which versions are affected by CVE-2012-5784?

4 open source packages ship an affected version, including org.apache.axis:axis and axis:axis. It affects 5 products.

PackageAffectedFixed in
org.apache.axis:axis MavenAll versions to 1.4None
org.apache.axis:axis MavenAll versions to 1.4None
axis:axis MavenAll versions to 1.4None
axis:axis MavenAll versions to 1.4None
Linux distribution packages (17)
devtoolset-2-axis Red Hat:developer_toolset:2.1::el6All versions0:1.4-23.el6
axis Red Hat:enterprise_linux:5::serverAll versions0:1.2.1-2jpp.7.el5_9
axis-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:1.2.1-2jpp.7.el5_9
axis-javadoc Red Hat:enterprise_linux:5::serverAll versions0:1.2.1-2jpp.7.el5_9
axis-manual Red Hat:enterprise_linux:5::serverAll versions0:1.2.1-2jpp.7.el5_9
axis Red Hat:enterprise_linux:6::clientAll versions0:1.2.1-7.3.el6_3
axis-javadoc Red Hat:enterprise_linux:6::clientAll versions0:1.2.1-7.3.el6_3
axis-manual Red Hat:enterprise_linux:6::clientAll versions0:1.2.1-7.3.el6_3
axis Red Hat:enterprise_linux:6::computenodeAll versions0:1.2.1-7.3.el6_3
axis-javadoc Red Hat:enterprise_linux:6::computenodeAll versions0:1.2.1-7.3.el6_3
axis-manual Red Hat:enterprise_linux:6::computenodeAll versions0:1.2.1-7.3.el6_3
axis Red Hat:enterprise_linux:6::serverAll versions0:1.2.1-7.3.el6_3
axis-javadoc Red Hat:enterprise_linux:6::serverAll versions0:1.2.1-7.3.el6_3
axis-manual Red Hat:enterprise_linux:6::serverAll versions0:1.2.1-7.3.el6_3
axis Red Hat:enterprise_linux:6::workstationAll versions0:1.2.1-7.3.el6_3
axis-javadoc Red Hat:enterprise_linux:6::workstationAll versions0:1.2.1-7.3.el6_3
axis-manual Red Hat:enterprise_linux:6::workstationAll versions0:1.2.1-7.3.el6_3

Products include Apache Activemq, Apache Axis, Paypal Mass Pay, Paypal Payments Pro, Paypal Transactional Information Soap.

How do I fix CVE-2012-5784?

Upgrade to a fixed version.

Is CVE-2012-5784 being exploited?

There is no known exploitation of CVE-2012-5784 in the wild and no public exploit code.

All Apache Activemq vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-5784, GHSA-55w9-c3g2-4rrh, MGASA-2013-0200, RHSA-2013:0269, RHSA-2013:0683, RHSA-2014:1123.

Is CVE-2012-5784 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free