CVE Vulnerabilities

CVE-2016-3733

Improper Access Control

Published: Apr 20, 2017 | Modified: Dec 01, 2020
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

The restore teacher feature in Moodle 3.0 through 3.0.3, 2.9 through 2.9.5, 2.8 through 2.8.11, 2.7 through 2.7.13, and earlier allows remote authenticated users to overwrite the course idnumber.

Weakness

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Affected Software

Name Vendor Start Version End Version
Moodle Moodle 2.7.0 (including) 2.7.0 (including)
Moodle Moodle 2.7.0-beta (including) 2.7.0-beta (including)
Moodle Moodle 2.7.0-rc1 (including) 2.7.0-rc1 (including)
Moodle Moodle 2.7.0-rc2 (including) 2.7.0-rc2 (including)
Moodle Moodle 2.7.1 (including) 2.7.1 (including)
Moodle Moodle 2.7.2 (including) 2.7.2 (including)
Moodle Moodle 2.7.3 (including) 2.7.3 (including)
Moodle Moodle 2.7.4 (including) 2.7.4 (including)
Moodle Moodle 2.7.5 (including) 2.7.5 (including)
Moodle Moodle 2.7.6 (including) 2.7.6 (including)
Moodle Moodle 2.7.7 (including) 2.7.7 (including)
Moodle Moodle 2.7.8 (including) 2.7.8 (including)
Moodle Moodle 2.7.9 (including) 2.7.9 (including)
Moodle Moodle 2.7.10 (including) 2.7.10 (including)
Moodle Moodle 2.7.11 (including) 2.7.11 (including)
Moodle Moodle 2.7.12 (including) 2.7.12 (including)
Moodle Moodle 2.7.13 (including) 2.7.13 (including)
Moodle Moodle 2.8.0 (including) 2.8.0 (including)
Moodle Moodle 2.8.1 (including) 2.8.1 (including)
Moodle Moodle 2.8.2 (including) 2.8.2 (including)
Moodle Moodle 2.8.3 (including) 2.8.3 (including)
Moodle Moodle 2.8.4 (including) 2.8.4 (including)
Moodle Moodle 2.8.5 (including) 2.8.5 (including)
Moodle Moodle 2.8.6 (including) 2.8.6 (including)
Moodle Moodle 2.8.7 (including) 2.8.7 (including)
Moodle Moodle 2.8.8 (including) 2.8.8 (including)
Moodle Moodle 2.8.9 (including) 2.8.9 (including)
Moodle Moodle 2.8.10 (including) 2.8.10 (including)
Moodle Moodle 2.8.11 (including) 2.8.11 (including)
Moodle Moodle 2.9.0 (including) 2.9.0 (including)
Moodle Moodle 2.9.1 (including) 2.9.1 (including)
Moodle Moodle 2.9.2 (including) 2.9.2 (including)
Moodle Moodle 2.9.3 (including) 2.9.3 (including)
Moodle Moodle 2.9.4 (including) 2.9.4 (including)
Moodle Moodle 2.9.5 (including) 2.9.5 (including)
Moodle Moodle 3.0.0 (including) 3.0.0 (including)
Moodle Moodle 3.0.0-beta (including) 3.0.0-beta (including)
Moodle Moodle 3.0.0-rc1 (including) 3.0.0-rc1 (including)
Moodle Moodle 3.0.0-rc2 (including) 3.0.0-rc2 (including)
Moodle Moodle 3.0.0-rc3 (including) 3.0.0-rc3 (including)
Moodle Moodle 3.0.0-rc4 (including) 3.0.0-rc4 (including)
Moodle Moodle 3.0.1 (including) 3.0.1 (including)
Moodle Moodle 3.0.2 (including) 3.0.2 (including)
Moodle Moodle 3.0.3 (including) 3.0.3 (including)
Moodle Ubuntu precise *
Moodle Ubuntu trusty *
Moodle Ubuntu upstream *
Moodle Ubuntu wily *

Extended Description

Access control involves the use of several protection mechanisms such as:

When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses:

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References