{"id":"CVE-2016-2159","aliases":["GHSA-cw72-69wq-f9f2"],"url":"https://o3.security/vulnerability/CVE-2016-2159","summary":"Moodle External function mod_assign_save_submission does not check due dates","details":"The save_submission function in mod/assign/externallib.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 authenticated users to bypass intended due-date restrictions by leveraging the student role for a web-service request.","published":"2016-05-22T20:59:08.177Z","modified":"2026-10-24T10:30:41.101659698Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"2.7.13"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"2.8.11"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"2.9.5"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.0.3"}],"fix":{"url":"https://github.com/moodle/moodle/commit/0766509ab02353008af62f953f7ebc0f6210411a","label":"moodle/moodle@0766509"},"references":[{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52901"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2016/03/21/1"},{"type":"WEB","url":"http://www.securitytracker.com/id/1035333"},{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=330182"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2159"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/0766509ab02353008af62f953f7ebc0f6210411a"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/3c069c16db62d0e0a64137578e92c22d604dd261"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/711f9468d4e2792afe0f2025ac98c52ee3e4ee71"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/dc8421575f35585a7a4fc1c9710dafd1d0483d4e"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/ea8987644fdbbee291337263598b0c3c7bf27c36"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://web.archive.org/web/20160424224349/http://www.securitytracker.com/id/1035333"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-24T10:30:41.101659698Z"}}