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

org.apache.axis:axis Updated 02 Oct 2025

Summary

07/10/2020
No i
Moderate
Not published

CVE-2012-5784: Man-in-the-middle attack in Apache Axis. Affects org.apache.axis:axis versions < 1.4. No fix is published. How to fix ↓

Also tracked for

The same CVE-2012-5784 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Axis is a widely used open-source framework for building web services in Java. It provides a comprehensive set of tools and libraries for creating, deploying, and managing SOAP (Simple Object Access Protocol) web services. The vulnerability identified as CVE-2012-5784 affects Apache Axis versions 1.4 and earlier. This vulnerability is also present in other products that utilize Axis, such as PayPal Payments Pro, PayPal Mass Pay, PayPal Transactional Information SOAP, and the Java Message Service implementation in Apache ActiveMQ.

Vulnerability Detail

The vulnerability allows for a man-in-the-middle attack, where an attacker can intercept and modify communication between a client and a server. The issue arises from the failure of Apache Axis to verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate. This lack of verification enables attackers to spoof SSL servers by using an arbitrary valid certificate. As a result, sensitive information transmitted over the network, including authentication credentials and payment details, can be intercepted and manipulated by the attacker.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If upgrading to a newer version of Apache Axis is not immediately feasible, a possible workaround is to implement additional security measures such as certificate pinning. Certificate pinning involves hardcoding the expected server certificate's public key or fingerprint in the client application. This way, even if an attacker presents a valid certificate for a different domain, the client will reject it because it does not match the pinned certificate.

Conclusion

The vulnerability identified as CVE-2012-5784 in Apache Axis and related products poses a significant risk of man-in-the-middle attacks. It is crucial to upgrade to a non-affected version of Apache Axis or implement security measures like certificate pinning to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.axis:axis →

Share this vulnerability

FAQ

Apache Axis is an open-source framework for building web services in Java. It provides tools and libraries for creating, deploying, and managing SOAP web services.

A man-in-the-middle attack is a type of cyber attack where an attacker intercepts and modifies communication between two parties without their knowledge. In this case, the attacker can intercept and manipulate communication between a client and a server using Apache Axis.

This vulnerability affects PayPal products that utilize Apache Axis, such as PayPal Payments Pro, PayPal Mass Pay, and PayPal Transactional Information SOAP. It allows attackers to potentially intercept and manipulate sensitive information transmitted between clients and servers.

An X.509 certificate is a digital certificate that uses the X.509 standard to verify the authenticity of a public key. It is commonly used in SSL/TLS communication to establish secure connections between clients and servers.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert is a platform that monitors and alerts in real-time for open-source vulnerabilities in software, using just the pom.xml file.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.axis:axis.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback