{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-2159","id":"CVE-2016-2159","title":"Moodle External function mod_assign_save_submission does not check due dates","description":"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.","descriptionLong":"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:00:00.000Z","updated":"2026-10-24T10:30:41.101659698Z","reserved":"2016-01-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=2.7 <2.7.13",">=2.8 <2.8.11",">=2.9 <2.9.5",">=3.0 <3.0.3"],"fixed":["2.7.13","2.8.11","2.9.5","3.0.3"],"advisory":"GHSA-cw72-69wq-f9f2"}],"cwes":["CWE-284"],"aliases":["GHSA-cw72-69wq-f9f2"],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=330182","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52901","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/03/21/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.securitytracker.com/id/1035333","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2159","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/0766509ab02353008af62f953f7ebc0f6210411a","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/3c069c16db62d0e0a64137578e92c22d604dd261","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/711f9468d4e2792afe0f2025ac98c52ee3e4ee71","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/dc8421575f35585a7a4fc1c9710dafd1d0483d4e","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/ea8987644fdbbee291337263598b0c3c7bf27c36","tags":["web"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://web.archive.org/web/20160424224349/http://www.securitytracker.com/id/1035333","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01429,"epssPercentile":0.73537,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-2159","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2159","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-2159","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cw72-69wq-f9f2","ok":true,"note":"GHSA-cw72-69wq-f9f2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-2159","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}