CVE-2014-4172: DotNetCasClient Jasig Java CAS Client, .NET Vulnerability

CRITICAL
Advisory Identifier: GHSA-9fc5-q25c-r2wr
CVSS 9.8
CWE-74
Published
Advisory Summary

CVE-2014-4172 is a CRITICAL (CVSS 9.8) jasig java cas client, .net vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting DotNetCasClient libraries in the NuGet ecosystem. The issue involves jasig java cas client, .net cas client, and phpcas contain url parameter injection vulnerability. Remediation is available by upgrading affected packages to version 1.0.2, 3.3.2, 1.3.3.

CVE-2014-4172 at a Glance

CVE Identifier CVE-2014-4172
GHSA Identifier GHSA-9fc5-q25c-r2wr
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected Product DotNetCasClient
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2014-4172

To remediate this vulnerability, upgrade all affected DotNetCasClient dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

DotNetCasClient fixed: 1.0.2
Upgrade DotNetCasClient to 1.0.2
org.jasig.cas:cas-client fixed: 3.3.2
<dependency>
    <groupId>org.jasig.cas</groupId>
    <artifactId>cas-client</artifactId>
    <version>3.3.2</version>
</dependency>
jasig/phpcas fixed: 1.3.3
Upgrade jasig/phpcas to 1.3.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for DotNetCasClient

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-4172, inspect your project dependencies for DotNetCasClient:

inspect dependencies for DotNetCasClient

Analyze the terminal output to locate any version of DotNetCasClient in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In DotNetCasClient, 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

A URL parameter injection vulnerability was found in the back-channel ticket validation step of the CAS protocol in Jasig Java CAS Client before 3.3.2, .NET CAS Client before 1.0.2, and phpCAS before 1.3.3 that allow remote attackers to inject arbitrary web script or HTML via the (1) service parameter to validation/AbstractUrlBasedTicketValidator.java or (2) pgtUrl parameter to validation/Cas20ServiceTicketValidator.java.

CVE-2014-4172 Affected DotNetCasClient Versions

3 component(s)
Fixed Versions:
1.0.23.3.21.3.3
Product / Package Ecosystem Affected Versions Fixed Version
DotNetCasClient
NuGet
< 1.0.2
1.0.2
org.jasig.cas:cas-client
Maven
< 3.3.2
3.3.2
jasig/phpcas
Packagist
< 1.3.3
1.3.3

References

Frequently Asked Questions

What is CVE-2014-4172?
CVE-2014-4172 is a security vulnerability in DotNetCasClient involving Jasig Java CAS Client, .NET CAS Client, and phpCAS contain URL parameter injection vulnerability under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Which DotNetCasClient versions are affected?
Affected versions include releases prior to 1.0.2, 3.3.2, 1.3.3 across affected packages: DotNetCasClient, org.jasig.cas:cas-client, jasig/phpcas.
What version fixes CVE-2014-4172?
Upgrading to 1.0.2, 3.3.2, 1.3.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is DotNetCasClient affected?
Yes, DotNetCasClient is affected in releases prior to 1.0.2. Upgrade your dependency to 1.0.2 or later.
Is cas-client affected?
Yes, org.jasig.cas:cas-client is affected in releases prior to 3.3.2. Upgrade your dependency to 3.3.2 or later.
What is the CVSS score of CVE-2014-4172?
CVE-2014-4172 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2014-4172?
CVE-2014-4172 is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.).
How can I check NuGet dependencies for CVE-2014-4172?
Run the dependency tree command: 'inspect dependencies for DotNetCasClient'. 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-9fc5-q25c-r2wr",
  "modified" : "2024-04-12T21:53:26Z",
  "published" : "2022-05-17T19:57:18Z",
  "aliases" : [ "CVE-2014-4172" ],
  "summary" : "Jasig Java CAS Client, .NET CAS Client, and phpCAS contain URL parameter injection vulnerability",
  "details" : "A URL parameter injection vulnerability was found in the back-channel ticket validation step of the CAS protocol in Jasig Java CAS Client before 3.3.2, .NET CAS Client before 1.0.2, and phpCAS before 1.3.3 that allow remote attackers to inject arbitrary web script or HTML via the (1) service parameter to validation/AbstractUrlBasedTicketValidator.java or (2) pgtUrl parameter to validation/Cas20ServiceTicketValidator.java.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "DotNetCasClient"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jasig.cas:cas-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "jasig/phpcas"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-4172"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Jasig/phpCAS/pull/125"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Jasig/dotnet-cas-client/commit/f0e030014fb7a39e5f38469f43199dc590fd0e8d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Jasig/java-cas-client/commit/ae37092100c8eaec610dab6d83e5e05a8ee58814"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apereo/java-cas-client/commit/266eba7c2d870d70caba6f41576d19f2fcc869b1"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759718"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1131350"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/95673"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Jasig/phpCAS/blob/master/docs/ChangeLog"
  }, {
    "type" : "WEB",
    "url" : "https://issues.jasig.org/browse/CASC-228"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2014/dsa-3017.en.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.mail-archive.com/cas-user@lists.jasig.org/msg17338.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2014-August/137182.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-22T19:02:31Z",
    "nvd_published_at" : "2020-01-24T19:15:00Z"
  }
}