MEDIUM
GHSA-xr24-jp5c-6c4v
Moodle reveals absolute path in exception message
Quick fix
GHSA-xr24-jp5c-6c4v — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.2.8Details
lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
0No fixed version published yet for moodle/moodle (composer). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1831[ADVISORY]
- https://github.com/moodle/moodle/commit/2c7cdbb3b0b6ba4dd64297463d37a5acbd730216[WEB]
- https://github.com/moodle/moodle/commit/53c66110a878f4f4644728138ea97c22990263e3[WEB]
- https://github.com/moodle/moodle/commit/8d220cb552d9c55b98aef70e2f40ef560efeb79b[WEB]
- https://github.com/moodle/moodle/commit/b3daaada49a2dd83a4f1e832465d5c318f9f275c[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=225342[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-36901[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101310.html[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101358.html[WEB]
- http://openwall.com/lists/oss-security/2013/03/25/2[WEB]