CVE Vulnerabilities

CVE-2015-2267

Improper Access Control

Published: Jun 01, 2015 | Modified: Dec 01, 2020
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

mdeploy.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allows remote authenticated users to bypass intended access restrictions and extract archives to arbitrary directories via a crafted dataroot value.

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.5.9 (including)
Moodle Moodle 2.5.0 (including) 2.5.0 (including)
Moodle Moodle 2.5.1 (including) 2.5.1 (including)
Moodle Moodle 2.5.2 (including) 2.5.2 (including)
Moodle Moodle 2.5.3 (including) 2.5.3 (including)
Moodle Moodle 2.5.4 (including) 2.5.4 (including)
Moodle Moodle 2.5.5 (including) 2.5.5 (including)
Moodle Moodle 2.5.6 (including) 2.5.6 (including)
Moodle Moodle 2.5.7 (including) 2.5.7 (including)
Moodle Moodle 2.5.8 (including) 2.5.8 (including)
Moodle Moodle 2.6.0 (including) 2.6.0 (including)
Moodle Moodle 2.6.1 (including) 2.6.1 (including)
Moodle Moodle 2.6.2 (including) 2.6.2 (including)
Moodle Moodle 2.6.3 (including) 2.6.3 (including)
Moodle Moodle 2.6.4 (including) 2.6.4 (including)
Moodle Moodle 2.6.5 (including) 2.6.5 (including)
Moodle Moodle 2.6.6 (including) 2.6.6 (including)
Moodle Moodle 2.6.7 (including) 2.6.7 (including)
Moodle Moodle 2.6.8 (including) 2.6.8 (including)
Moodle Moodle 2.7.0 (including) 2.7.0 (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.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 Ubuntu artful *
Moodle Ubuntu lucid *
Moodle Ubuntu precise *
Moodle Ubuntu trusty *
Moodle Ubuntu upstream *
Moodle Ubuntu utopic *
Moodle Ubuntu vivid *
Moodle Ubuntu wily *
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