GitHub Advisory Database
GHSA-45ch-hxgr-vx8j
phpCAS client library and Moodle Cross-site Scripting vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | apereo/phpcas | All versions before 1.1.0 (fixed in 1.1.0) |
| Packagist | moodle/moodle | From 1.8.0 before 1.8.12 (fixed in 1.8.12) |
| Packagist | moodle/moodle | From 1.9.0 before 1.9.8 (fixed in 1.9.8) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-1618
- https://github.com/apereo/phpCAS/commit/021633112198b37555b35340cde884d1016d9e47
- https://github.com/apereo/phpCAS
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html
- http://moodle.org/security
- http://www.ja-sig.org/issues/browse/PHPCAS-52
- http://www.ja-sig.org/wiki/display/CASC/phpCAS+ChangeLog
- http://www.vupen.com/english/advisories/2010/1107