CVE-2014-3603: Shibboleth identityprovider Improper Validation Of Certificate With Vulnerability

MODERATE
Advisory Identifier: GHSA-rm7v-gqfg-p2wc
CVSS 5.9
CWE-297
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2014-3603
GHSA Identifier GHSA-rm7v-gqfg-p2wc
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-297: Improper Validation of Certificate with Host Mismatch
Affected Product Shibboleth identityprovider
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (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.

edu.internet2.middleware:shibboleth-identityprovider fixed: 2.4.1
<dependency>
    <groupId>edu.internet2.middleware</groupId>
    <artifactId>shibboleth-identityprovider</artifactId>
    <version>2.4.1</version>
</dependency>
org.opensaml:opensaml fixed: 2.6.2
<dependency>
    <groupId>org.opensaml</groupId>
    <artifactId>opensaml</artifactId>
    <version>2.6.2</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2014-3603 Affected Shibboleth identityprovider Versions

2 component(s)
Fixed Versions:
2.4.12.6.2
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?
CVE-2014-3603 is a security vulnerability in Shibboleth identityprovider involving Improper Validation of Certificate with Host Mismatch in Shibboleth Identity Provider and OpenSAML Java under CWE-297: Improper Validation of Certificate with Host Mismatch.
Which Shibboleth identityprovider versions are affected?
Affected versions include releases prior to 2.4.1, 2.6.2 across affected packages: edu.internet2.middleware:shibboleth-identityprovider, org.opensaml:opensaml.
What version fixes CVE-2014-3603?
Upgrading to 2.4.1, 2.6.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is shibboleth-identityprovider affected?
Yes, edu.internet2.middleware:shibboleth-identityprovider is affected in releases prior to 2.4.1. Upgrade your dependency to 2.4.1 or later.
Is opensaml affected?
Yes, org.opensaml:opensaml is affected in releases prior to 2.6.2. Upgrade your dependency to 2.6.2 or later.
What is the CVSS score of CVE-2014-3603?
CVE-2014-3603 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2014-3603?
CVE-2014-3603 is classified under CWE-297: Improper Validation of Certificate with Host Mismatch (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.).
How can I check Maven dependencies for CVE-2014-3603?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=edu.internet2.middleware'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}