Jasig Java CAS Client, .NET CAS Client, and phpCAS contain URL parameter injection vulnerability
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.0.2Ecosystem versions | 1.0.2 |
Version evidence: OSV · GHSA-9fc5-q25c-r2wr
View original version evidence (2 explicit versions)
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 3.3.2Ecosystem versions | 3.3.2 |
Version evidence: OSV · GHSA-9fc5-q25c-r2wr
View original version evidence (21 explicit versions)
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.3.3Ecosystem versions | 1.3.3 |
Version evidence: OSV · GHSA-9fc5-q25c-r2wr
View original version evidence (0 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-4172
- Patch github.com/Jasig/phpCAS/pull/125
- Patch github.com/Jasig/dotnet-cas-client/commit/f0e030014fb7a39e5f38469f43199dc590fd0e8d
- Patch github.com/Jasig/java-cas-client/commit/ae37092100c8eaec610dab6d83e5e05a8ee58814
- Patch github.com/apereo/java-cas-client/commit/266eba7c2d870d70caba6f41576d19f2fcc869b1
- Source reference bugs.debian.org/cgi-bin/bugreport.cgi
- Source reference bugzilla.redhat.com/show_bug.cgi
- Security advisory exchange.xforce.ibmcloud.com/vulnerabilities/95673
- Release notes github.com/Jasig/phpCAS/blob/master/docs/ChangeLog
- Source reference issues.jasig.org/browse/CASC-228
- Security advisory www.debian.org/security/2014/dsa-3017.en.html
- Source reference www.mail-archive.com/cas-user@lists.jasig.org/msg17338.html
- Source reference lists.fedoraproject.org/pipermail/package-announce/2014-August/137182.html