CVE Vulnerabilities

CVE-2016-8643

Improper Access Control

Published: Jan 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

In Moodle 2.x and 3.x, non-admin site managers may accidentally edit admins via web services.

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.16 (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.8.12 (including) 2.8.12 (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 2.9.6 (including) 2.9.6 (including)
Moodle Moodle 2.9.7 (including) 2.9.7 (including)
Moodle Moodle 2.9.8 (including) 2.9.8 (including)
Moodle Moodle 3.0.0 (including) 3.0.0 (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 Moodle 3.0.4 (including) 3.0.4 (including)
Moodle Moodle 3.0.5 (including) 3.0.5 (including)
Moodle Moodle 3.0.6 (including) 3.0.6 (including)
Moodle Moodle 3.1.0 (including) 3.1.0 (including)
Moodle Moodle 3.1.1 (including) 3.1.1 (including)
Moodle Moodle 3.1.2 (including) 3.1.2 (including)
Moodle Ubuntu artful *
Moodle Ubuntu bionic *
Moodle Ubuntu cosmic *
Moodle Ubuntu disco *
Moodle Ubuntu eoan *
Moodle Ubuntu esm-apps/bionic *
Moodle Ubuntu esm-apps/xenial *
Moodle Ubuntu precise *
Moodle Ubuntu trusty *
Moodle Ubuntu upstream *
Moodle Ubuntu xenial *
Moodle Ubuntu yakkety *
Moodle Ubuntu zesty *

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