CVE-2016-2157
Moodle cross-site request forgery (CSRF) vulnerability
CVE-2016-2157 is a high vulnerability (CVSS 8.8) in Moodle, published March 25, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 62nd percentile. Fixed in moodle/moodle 2.7.13.
Cross-site request forgery (CSRF) vulnerability in mod/assign/adminmanageplugins.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to hijack the authentication of administrators for requests that manage Assignment plugins.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
Cross-site request forgery (CSRF) vulnerability in mod/assign/adminmanageplugins.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to hijack the authentication of administrators for requests that manage Assignment plugins.
- Record
CVE-2016-2157- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-352
- Updated
- 2026-11-02
CVE List No score
Cross-site request forgery (CSRF) vulnerability in mod/assign/adminmanageplugins.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to hijack the authentication of administrators for requests that manage Assignment plugins.
- Record
CVE-2016-2157- Updated
- 2026-11-02
EUVDEUVD-2022-3696 No score
Cross-site request forgery (CSRF) vulnerability in mod/assign/adminmanageplugins.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to hijack the authentication of administrators for requests that manage Assignment plugins.
- Record
EUVD-2022-3696- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f5pm-c4cw-563p
8.8
Moodle cross-site request forgery (CSRF) vulnerability
Cross-site request forgery (CSRF) vulnerability in mod/assign/adminmanageplugins.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to hijack the authentication of administrators for requests that manage Assignment plugins.
- Record
GHSA-f5pm-c4cw-563p- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-352
- Updated
- 2026-11-02
OSV
8.8
Cross-site request forgery (CSRF) vulnerability in mod/assign/adminmanageplugins.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to hijack the authentication of administrators for requests that manage Assignment plugins.
- Record
CVE-2016-2157- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-f5pm-c4cw-563p
8.8
Moodle cross-site request forgery (CSRF) vulnerability
Cross-site request forgery (CSRF) vulnerability in mod/assign/adminmanageplugins.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to hijack the authentication of administrators for requests that manage Assignment plugins.
- Record
GHSA-f5pm-c4cw-563p- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-352
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-2157
8.8
Cross-site request forgery (CSRF) vulnerability in mod/assign/adminmanageplugins.php in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to hijack the authentication of administrators for requests that manage Assignment plugins.
- Record
UBUNTU-CVE-2016-2157- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0122 No score
Updated moodle packages fix security vulnerability
In Moodle before 2.8.11, teachers who otherwise were not supposed to see students' emails could see them in the participants list (CVE-2016-2151).
In Moodle before 2.8.11, Moodle traditionally trusted content from external DB, however it was decided that external datasources may not be aware of web security practices and data could cause problems after importing to Moodle (CVE-2016-2152).
In Moodle before 2.8.11, a user with higher permissions could be tricked into clicking a link which would result in Reflected XSS in mod_data advanced search (CVE-2016-2153).
In Moodle before 2.8.11, users without capability to view hidden courses but with capability to subscribe to Event Monitor rules could see the names of hidden courses (CVE-2016-2154).
In Moodle before 2.8.11, the Non-Editing Instructor role can edit the exclude checkbox in the Single View grade report (CVE-2016-2155).
In Moodle before 2.8.11, users without the capability to view hidden acitivites could still see associated calendar events via web services, via the external function get_calendar_events (CVE-2016-2156).
In Moodle before 2.8.11, CSRF is possible on the Assignment plugin admin page, however an exploit is unlikely to benefit anybody and can easily be reversed (CVE-2016-2157).
In Moodle before 2.8.11, enumeration of course category details is possible without authentication (CVE-2016-2158).
In Moodle before 2.8.11, students were able to add assignment submissions after the due date through web service, via the external function mod_assign_save_submission (CVE-2016-2159).
In Moodle before 2.8.11, when following external links that were added with the _blank target, a referer header would be added (CVE-2016-2190).
- Record
MGASA-2016-0122- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
before 2.7.13 | 2.7.13 |
moodle/moodlePackagist |
2.8.0 up to 2.8.11 | 2.8.11 |
moodle/moodlePackagist |
2.9.0 up to 2.9.5 | 2.9.5 |
moodle/moodlePackagist |
3.0.0 up to 3.0.3 | 3.0.3 |
moodle/moodlePackagist |
before 2.7.13, plus listed versions v2.3.10v2.3.11v2.3.4v2.3.5v2.3.6 Show 45 moreShow lessv2.3.7v2.3.8v2.3.9v2.4.0v2.4.0-rc1v2.4.1v2.4.10v2.4.11v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6v2.4.7v2.4.8v2.4.9v2.5.0v2.5.0-betav2.5.0-rc1v2.5.1v2.5.2v2.5.3v2.5.4v2.5.5v2.5.6v2.5.7v2.5.8v2.5.9v2.6.0v2.6.0-betav2.6.0-rc1v2.6.1v2.6.10v2.6.11v2.6.2v2.6.3v2.6.4v2.6.5v2.6.6v2.6.7v2.6.8v2.6.9v2.7.0v2.7.0-betav2.7.0-rc1 |
2.7.13 |
moodle/moodlePackagist |
2.8.0 up to 2.8.11, plus listed versions v2.8.0v2.8.1v2.8.10v2.8.2v2.8.3 Show 6 moreShow lessv2.8.4v2.8.5v2.8.6v2.8.7v2.8.8v2.8.9 |
2.8.11 |
moodle/moodlePackagist |
2.9.0 up to 2.9.5, plus listed versions v2.9.0v2.9.1v2.9.2v2.9.3v2.9.4 |
2.9.5 |
moodle/moodlePackagist |
3.0.0 up to 3.0.3, plus listed versions v3.0.0v3.0.1v3.0.2 |
3.0.3 |
moodleMageia:5 |
before 2.8.11-1.mga5 | 2.8.11-1.mga5 |
moodleUbuntu:16.04:LTS |
before 3.0.3+dfsg-0ubuntu1, plus listed versions 2.7.9+dfsg-12.7.10+dfsg-12.7.11+dfsg-12.7.11+dfsg-22.7.12+dfsg-1 |
3.0.3+dfsg-0ubuntu1 |
moodleUbuntu:18.04:LTS |
before 3.0.3+dfsg-0ubuntu1 | 3.0.3+dfsg-0ubuntu1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
openwall.com/lists/oss-security/2016/03/21/1
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-53031
moodle.org/mod/forum/discuss.php?d=330179
securitytracker.com/id/1035333
nvd.nist.gov/vuln/detail/CVE-2016-2157
github.com/moodle/moodle/commit/01b19e761f94a4f3615d5c8f6314309aa83469f3
Show 22 moreShow less
github.com/moodle/moodle/commit/1452f1e1d37d816648e3e015296de59509847287
github.com/moodle/moodle/commit/55ba3a26d2710ce3c5f13287b0c3538b9a934fa4
github.com/moodle/moodle/commit/85984545a937b0790c355473d7295eb60b0265eb
github.com/moodle/moodle/commit/a0cd21cd5cc63961243518a58e9d5d01182dbbb4
web.archive.org/web/20160424224349/http://www.securitytracker.com/id/1035333
github.com/advisories/GHSA-f5pm-c4cw-563p
github.com/moodle/moodle
advisories.mageia.org/MGASA-2016-0122.html
bugs.mageia.org/show_bug.cgi?id=18048
moodle.org/mod/forum/discuss.php?d=330173
moodle.org/mod/forum/discuss.php?d=330174
moodle.org/mod/forum/discuss.php?d=330175
moodle.org/mod/forum/discuss.php?d=330176
moodle.org/mod/forum/discuss.php?d=330177
moodle.org/mod/forum/discuss.php?d=330178
moodle.org/mod/forum/discuss.php?d=330180
moodle.org/mod/forum/discuss.php?d=330181
moodle.org/mod/forum/discuss.php?d=330182
docs.moodle.org/dev/Moodle_2.8.11_release_notes
moodle.org/mod/forum/discuss.php?d=329783
ubuntu.com/security/CVE-2016-2157
cve.org/CVERecord?id=CVE-2016-2157
Left out here: 13 versions. The JSON record has them.