phpCAS client library and Moodle Cross-site Scripting vulnerability
Impact
Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.
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.1.0Ecosystem versions | 1.1.0 |
Version evidence: OSV · GHSA-45ch-hxgr-vx8j
View original version evidence (0 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 1.8.0 before 1.8.12Ecosystem versions | 1.8.12 |
| From 1.9.0 before 1.9.8Ecosystem versions | 1.9.8 |
Version evidence: OSV · GHSA-45ch-hxgr-vx8j
View original version evidence (0 explicit versions)
Original source description
Cross-site scripting (XSS) vulnerability in the phpCAS client library before 1.1.0, as used in Moodle 1.8.x before 1.8.12 and 1.9.x before 1.9.8, allows remote attackers to inject arbitrary web script or HTML via a crafted URL, which is not properly handled in an error message.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2010-1618
- Patch github.com/apereo/phpCAS/commit/021633112198b37555b35340cde884d1016d9e47
- Source reference github.com/apereo/phpCAS
- Security advisory lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- Security advisory moodle.org/security
- Source reference www.ja-sig.org/issues/browse/PHPCAS-52
- Release notes www.ja-sig.org/wiki/display/CASC/phpCAS+ChangeLog
- Security advisory www.vupen.com/english/advisories/2010/1107