GitHub Advisory Database
GHSA-j465-7mp6-3xg3
Moodle places a session key in a URL
Details
repository/alfresco/lib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 places a session key in a URL, which allows remote attackers to bypass intended Alfresco Repository file restrictions by impersonating a file's owner.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions before 2.4.9 (fixed in 2.4.9) |
| Packagist | moodle/moodle | From 2.5.0 before 2.5.5 (fixed in 2.5.5) |
| Packagist | moodle/moodle | From 2.6.0 before 2.6.2 (fixed in 2.6.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0125
- https://github.com/moodle/moodle/commit/4bc5dd32178cbaa62c466f74bf6d0ebafb697818
- https://github.com/moodle/moodle/commit/a71a6de914bec01df4268d0547c7a52917c4192f
- https://github.com/moodle/moodle/commit/ee8f17db890d7fa1bfc2cfd49ff8d21b41d29331
- https://github.com/moodle/moodle/commit/f4f0aa27d43527c15070d00bc96be879876ccc38
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=256422
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-29409
- http://openwall.com/lists/oss-security/2014/03/17/1