CVE-2014-3603: Shibboleth identityprovider Improper Validation Of Certificate With Vulnerability
MODERATECVE-2014-3603 is a MODERATE (CVSS 5.9) improper validation of certificate with vulnerability (CWE-297: Improper Validation of Certificate with Host Mismatch) affecting Shibboleth identityprovider libraries in the Maven ecosystem. The issue involves improper validation of certificate with host mismatch in shibboleth identity provider and opensaml java. Remediation is available by upgrading affected packages to version 2.4.1, 2.6.2.
CVE-2014-3603 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2014-3603
To remediate this vulnerability, upgrade all affected Shibboleth identityprovider 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>edu.internet2.middleware</groupId>
<artifactId>shibboleth-identityprovider</artifactId>
<version>2.4.1</version>
</dependency>
<dependency>
<groupId>org.opensaml</groupId>
<artifactId>opensaml</artifactId>
<version>2.6.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=edu.internet2.middleware
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2014-3603, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=edu.internet2.middleware
Analyze the terminal output to locate any version of Shibboleth identityprovider in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=edu.internet2.middleware 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-297: Improper Validation of Certificate with Host Mismatch, where the product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host. In Shibboleth identityprovider, 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-3603 Affected Shibboleth identityprovider Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
edu.internet2.middleware:shibboleth-identityprovider
|
Maven |
< 2.4.1
|
2.4.1
|
|
org.opensaml:opensaml
|
Maven |
< 2.6.2
|
2.6.2
|
References
Frequently Asked Questions
What is CVE-2014-3603?
Which Shibboleth identityprovider versions are affected?
What version fixes CVE-2014-3603?
Is shibboleth-identityprovider affected?
Is opensaml affected?
What is the CVSS score of CVE-2014-3603?
What CWE is associated with CVE-2014-3603?
How can I check Maven dependencies for CVE-2014-3603?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rm7v-gqfg-p2wc",
"modified" : "2022-07-07T22:38:37Z",
"published" : "2022-05-14T01:11:29Z",
"aliases" : [ "CVE-2014-3603" ],
"summary" : "Improper Validation of Certificate with Host Mismatch in Shibboleth Identity Provider and OpenSAML Java",
"details" : "The (1) HttpResource and (2) FileBackedHttpResource implementations in Shibboleth Identity Provider (IdP) before 2.4.1 and OpenSAML Java 2.6.2 do not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "edu.internet2.middleware:shibboleth-identityprovider"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.opensaml:opensaml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3603"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1131823"
}, {
"type" : "WEB",
"url" : "http://shibboleth.net/community/advisories/secadv_20140813.txt"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-297" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-07T22:38:37Z",
"nvd_published_at" : "2019-04-04T14:29:00Z"
}
}