CVE-2012-5351: Improper Authentication in Apache Axis2
Summary
CVE-2012-5351: Improper Authentication in Apache Axis2. Affects org.apache.axis2:axis2 versions < 1.6.4. Fixed in 1.6.4. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Apache Axis2 is a popular open-source web service framework that provides a comprehensive platform for developing and deploying web services. It is widely used in Java-based applications to enable communication between different software systems. The vulnerability identified as CVE-2012-5351 affects the Apache Axis2 package and allows remote attackers to forge messages and bypass authentication. This vulnerability is related to a SAML assertion that lacks a Signature element, enabling a 'Signature exclusion attack'. It is important to note that this vulnerability is distinct from CVE-2012-4418.
Vulnerability Detail
The vulnerability in Apache Axis2 allows attackers to manipulate SAML assertions and bypass authentication mechanisms. By crafting a SAML assertion without a Signature element, an attacker can deceive the system into accepting the forged message as legitimate. This can lead to unauthorized access to sensitive information or the execution of unauthorized actions within the affected system. The vulnerability has a moderate severity rating and is classified under CWE-287.
How To Fix
Latest published version: 2.0.1 as of 23 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.6.4
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading to a secure version of the Apache Axis2 package.
Conclusion
The vulnerability identified as CVE-2012-5351 in Apache Axis2 can allow remote attackers to bypass authentication mechanisms and forge messages. It is crucial to upgrade to a secure version of the Apache Axis2 package to mitigate the risk of unauthorized access and potential misuse of the affected system. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.axis2:axis2 →
FAQ
Apache Axis2 is an open-source web service framework used for developing and deploying web services in Java-based applications.
A SAML assertion is an XML-based security token that contains information about a user's identity and attributes. It is used for authentication and authorization in SAML-based systems.
A 'Signature exclusion attack' is a type of attack where an attacker crafts a message without a Signature element, bypassing authentication mechanisms that rely on signature verification.
This vulnerability can lead to unauthorized access to sensitive information or the execution of unauthorized actions within the affected system.
No, there is no known workaround for this vulnerability. It is essential to upgrade to a secure version of the Apache Axis2 package.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.axis2:axis2.