CVE-2014-3612: Activemq broker Improper Authentication Vulnerability
HIGHCVE-2014-3612 is a HIGH improper authentication vulnerability (CWE-287: Improper Authentication) affecting Activemq broker libraries in the Maven ecosystem. The issue involves improper authentication in apache wss4j. Remediation is available by upgrading affected packages to version 5.10.1.
CVE-2014-3612 at a Glance
How to Fix CVE-2014-3612
To remediate this vulnerability, upgrade all affected Activemq broker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-broker</artifactId>
<version>5.10.1</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-jaas</artifactId>
<version>5.10.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.activemq
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-3612, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.activemq
Analyze the terminal output to locate any version of Activemq broker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.10.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.activemq command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Activemq broker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-3612 Affected Activemq broker Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.activemq:activemq-broker
|
Maven |
≥ 5.0.0
< 5.10.1
|
5.10.1
|
|
org.apache.activemq:activemq-jaas
|
Maven |
≥ 5.0.0
< 5.10.1
|
5.10.1
|
References
Frequently Asked Questions
What is CVE-2014-3612?
Which Activemq broker versions are affected?
What version fixes CVE-2014-3612?
Is activemq-broker affected?
Is activemq-jaas affected?
What CWE is associated with CVE-2014-3612?
How can I check Maven dependencies for CVE-2014-3612?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-72m6-23ff-7q26",
"modified" : "2023-12-20T19:27:49Z",
"published" : "2022-05-14T01:14:52Z",
"aliases" : [ "CVE-2014-3612" ],
"summary" : "Improper Authentication in Apache WSS4J",
"details" : "The LDAPLoginModule implementation in the Java Authentication and Authorization Service (JAAS) in Apache ActiveMQ 5.x before 5.10.1 allows remote attackers to bypass authentication by logging in with an empty password and valid username, which triggers an unauthenticated bind. NOTE: this identifier has been SPLIT per ADT2 due to different vulnerability types. See CVE-2015-6524 for the use of wildcard operators in usernames.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.activemq:activemq-broker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.10.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.activemq:activemq-jaas"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.10.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3612"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/activemq/commit/22f2f3dde757d31307da772d579815c1d169bc39"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/activemq"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/AMQ-5345"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/a859563f05fbe7c31916b3178c2697165bd9bbf5a65d1cf62aef27d2%40%3Ccommits.activemq.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/a859563f05fbe7c31916b3178c2697165bd9bbf5a65d1cf62aef27d2@%3Ccommits.activemq.apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://activemq.apache.org/security-advisories.data/CVE-2014-3612-announcement.txt"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0137.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2015-0138.html"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2015/q1/427"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/72513"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-07T22:34:06Z",
"nvd_published_at" : "2015-08-24T14:59:00Z"
}
}