CVE-2010-3700: Spring Framework Authentication Bypass Vulnerability
MODERATECVE-2010-3700 is a MODERATE authentication bypass vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting Spring Framework libraries in the Maven ecosystem. The issue involves authentication bypass using an alternate path or channel in springsource spring security and acegi security. Remediation is available by upgrading affected packages to version 2.0.6, 3.0.4.
CVE-2010-3700 at a Glance
How to Fix CVE-2010-3700
To remediate this vulnerability, upgrade all affected Spring Framework 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.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>3.0.4</version>
</dependency>
<dependency>
<groupId>org.acegisecurity</groupId>
<artifactId>acegi-security</artifactId>
<version>Latest secure release</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.springframework.security
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2010-3700, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.springframework.security
Analyze the terminal output to locate any version of Spring Framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.6), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.springframework.security 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-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. In Spring Framework, 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-2010-3700 Affected Spring Framework Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.springframework.security:spring-security-core
|
Maven |
≥ 2.0.0
< 2.0.6
|
2.0.6
|
|
org.springframework.security:spring-security-core
|
Maven |
≥ 3.0.0
< 3.0.4
|
3.0.4
|
|
org.acegisecurity:acegi-security
|
Maven |
≥ 1.0.0
≤ 1.0.7
|
|
References
Frequently Asked Questions
What is CVE-2010-3700?
Which Spring Framework versions are affected?
What version fixes CVE-2010-3700?
Is spring-security-core affected?
Is acegi-security affected?
What CWE is associated with CVE-2010-3700?
How can I check Maven dependencies for CVE-2010-3700?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3295-h9qx-r82x",
"modified" : "2022-07-08T18:48:11Z",
"published" : "2022-05-14T02:43:11Z",
"aliases" : [ "CVE-2010-3700" ],
"summary" : "Authentication Bypass Using an Alternate Path or Channel in SpringSource Spring Security and Acegi Security",
"details" : "VMware SpringSource Spring Security 2.x before 2.0.6 and 3.x before 3.0.4, and Acegi Security 1.0.0 through 1.0.7, as used in IBM WebSphere Application Server (WAS) 6.1 and 7.0, allows remote attackers to bypass security constraints via a path parameter.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.security:spring-security-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.security:spring-security-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.acegisecurity:acegi-security"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"last_affected" : "1.0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-3700"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/bugzilla/show_bug.cgi?id=25015"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20110802082343/http://www.springsource.com/security/cve-2010-3700"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-288" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-08T18:48:11Z",
"nvd_published_at" : "2010-10-29T19:00:00Z"
}
}