CVE-2014-4172 Jasig Java CAS Client, .NET CAS Client, and phpCAS contain URL parameter injection vulnerability
Remote attackers can inject arbitrary web script or HTML via URL parameters in CAS client libraries, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-4172?
CVE-2014-4172 is a critical cross-site scripting vulnerability in Debian Debian Linux, published on 24 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-74
Which versions are affected by CVE-2014-4172?
6 open source packages ship an affected version, including org.jasig.cas:cas-client, DotNetCasClient and jasig/phpcas. It affects 5 products.
| Package | Affected | Fixed in |
|---|---|---|
org.jasig.cas:cas-client Maven | All versions | 3.3.2 |
org.jasig.cas:cas-client Maven | All versions | 3.3.2 |
DotNetCasClient NuGet | All versions | 1.0.2 |
DotNetCasClient NuGet | All versions | 1.0.2 |
jasig/phpcas Packagist | All versions | 1.3.3 |
jasig/phpcas Packagist | All versions | 1.3.3 |
Products include Apereo .Net Cas Client, Apereo Java Cas Client, Apereo Phpcas, Debian Debian Linux, Fedoraproject Fedora.
How do I fix CVE-2014-4172?
Upgrade org.jasig.cas:cas-client to 3.3.2 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2014-4172 being exploited?
There is no known exploitation of CVE-2014-4172 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2014-4172, DSA-3017-1, GHSA-9fc5-q25c-r2wr, MGASA-2014-0387.