cve.bz

CVE-2016-2159 moodle moodle: Improper Access Control

4.3 mediumEPSS 1.4%Fix available

Medium (4.3) in moodle moodle. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in moodle/moodle 2.7.13, 2.8.11, 2.9.5.

On this page
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.

Severity

CVSS 3.0

4.3 medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-2159 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-2159?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-2159?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-2159 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
moodle:moodlethrough 2.6.11
moodle:moodle2.7.0
moodle:moodle2.7.1
moodle:moodle2.7.2
moodle:moodle2.7.3
moodle:moodle2.7.4
moodle:moodle2.7.5
moodle:moodle2.7.6
moodle:moodle2.7.7
moodle:moodle2.7.8
moodle:moodle2.7.9
moodle:moodle2.7.10
moodle:moodle2.7.11
moodle:moodle2.7.12
moodle:moodle2.8.0
moodle:moodle2.8.1
moodle:moodle2.8.2
moodle:moodle2.8.3
moodle:moodle2.8.4
moodle:moodle2.8.5
moodle:moodle2.8.6
moodle:moodle2.8.7
moodle:moodle2.8.8
moodle:moodle2.8.9
moodle:moodle2.8.10
moodle:moodle2.9.0
moodle:moodle2.9.1
moodle:moodle2.9.2
moodle:moodle2.9.3
moodle:moodle2.9.4
moodle:moodle3.0.0
moodle:moodle3.0.1
moodle:moodle3.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cw72-69wq-f9f2Packagistmoodle/moodle>=2.7 <2.7.132.7.13
GHSA-cw72-69wq-f9f2Packagistmoodle/moodle>=2.8 <2.8.112.8.11
GHSA-cw72-69wq-f9f2Packagistmoodle/moodle>=2.9 <2.9.52.9.5
GHSA-cw72-69wq-f9f2Packagistmoodle/moodle>=3.0 <3.0.33.0.3

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON