Affected versions
Composermoodle/moodle
- Affected versions
- >= 3.5.0, < 3.5.5
- Fixed version
- 3.5.5
Composermoodle/moodle
- Affected versions
- < 3.1.17
- Fixed version
- 3.1.17
Composermoodle/moodle
- Affected versions
- >= 3.6.0, < 3.6.3
- Fixed version
- 3.6.3
Composermoodle/moodle
- Affected versions
- >= 3.2.0, < 3.4.8
- Fixed version
- 3.4.8
Exploitation
Description
A vulnerability was found in moodle before versions 3.6.3, 3.5.5, 3.4.8 and 3.1.17. Users with the "login as other users" capability (such as administrators/managers) can access other users' Dashboards, but the JavaScript those other users may have added to their Dashboard was not being escaped when being viewed by the user logging in on their behalf.
Links
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847
- https://github.com/advisories/GHSA-qrcj-6fjw-3h9h
- https://github.com/moodle/moodle
- https://github.com/moodle/moodle/commit/070f24d006eab6b958eb083530de159b43c538ed
- https://github.com/moodle/moodle/commit/93dda3bfd3caaaa8d23fe8ede543f27ef774958d
- https://github.com/moodle/moodle/commit/a37e26d2efe1ca0e4d8d69c611a748af35b33674
- https://github.com/moodle/moodle/commit/e836242e1c04cd62d0afa4a790074fd245628e7a
- https://github.com/moodle/moodle/commit/ec3b63c772d6448765c68268234cf36c1a91bcac
- https://moodle.org/mod/forum/discuss.php?d=384010#p1547742
- https://nvd.nist.gov/vuln/detail/CVE-2019-3847
- https://web.archive.org/web/20200227082922/http://www.securityfocus.com/bid/107489
Credits
- MarkLee131

