CVE-2012-1154: Mod cluster Improper Access Control Vulnerability
MODERATECVE-2012-1154 is a MODERATE improper access control vulnerability (CWE-284: Improper Access Control) affecting Mod cluster libraries in the Maven ecosystem. The issue involves improper access control in jboss mod_cluster. Remediation is available by upgrading affected packages to version 1.1.4.
CVE-2012-1154 at a Glance
How to Fix CVE-2012-1154
To remediate this vulnerability, upgrade all affected Mod cluster 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.jboss.mod_cluster</groupId>
<artifactId>mod_cluster</artifactId>
<version>1.1.4</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.jboss.mod_cluster
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2012-1154, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jboss.mod_cluster
Analyze the terminal output to locate any version of Mod cluster in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jboss.mod_cluster 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Mod cluster, 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-2012-1154 Affected Mod cluster Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jboss.mod_cluster:mod_cluster
|
Maven |
≥ 1.1.0
< 1.1.4
|
1.1.4
|
References
Frequently Asked Questions
What is CVE-2012-1154?
Which Mod cluster versions are affected?
What version fixes CVE-2012-1154?
Is mod_cluster affected?
What CWE is associated with CVE-2012-1154?
How can I check Maven dependencies for CVE-2012-1154?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v2fp-h4qx-x3r6",
"modified" : "2022-11-01T22:26:52Z",
"published" : "2022-05-17T05:18:47Z",
"aliases" : [ "CVE-2012-1154" ],
"summary" : "Improper Access Control in JBoss mod_cluster",
"details" : "mod_cluster 1.0.10 before 1.0.10 CP03 and 1.1.x before 1.1.4, as used in JBoss Enterprise Application Platform 5.1.2, when \"ROOT\" is set to excludedContexts, exposes the root context of the server, which allows remote attackers to bypass access restrictions and gain access to applications deployed on the root context via unspecified vectors.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jboss.mod_cluster:mod_cluster"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-1154"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=802200"
}, {
"type" : "WEB",
"url" : "https://community.jboss.org/message/624018"
}, {
"type" : "WEB",
"url" : "https://issues.jboss.org/browse/MODCLUSTER-253"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-1010.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-1011.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-1012.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-1052.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-1053.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2012-1166.html"
}, {
"type" : "WEB",
"url" : "http://secunia.com/advisories/49636"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-01T22:26:52Z",
"nvd_published_at" : "2012-10-22T23:55:00Z"
}
}