CVE Vulnerabilities


Exposure of Resource to Wrong Sphere

Published: Mar 23, 2023 | Modified: Apr 19, 2024
CVSS 3.x
CVSS 2.x

Insufficient filtering of grade report history made it possible for teachers to access the names of users they could not otherwise access.


The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

Affected Software

Name Vendor Start Version End Version
Moodle Moodle 3.9.0 (excluding) 3.9.20 (excluding)
Moodle Moodle 3.11.0 (excluding) 3.11.13 (excluding)
Moodle Moodle 4.0.0 (excluding) 4.0.7 (excluding)
Moodle Moodle 3.9.0 (including) 3.9.0 (including)
Moodle Moodle 3.11.0 (including) 3.11.0 (including)
Moodle Moodle 4.0.0 (including) 4.0.0 (including)
Moodle Moodle 4.1.0 (including) 4.1.0 (including)
Moodle Moodle 4.1.1 (including) 4.1.1 (including)
Moodle Ubuntu bionic *
Moodle Ubuntu trusty *
Moodle Ubuntu xenial *

Extended Description

Resources such as files and directories may be inadvertently exposed through mechanisms such as insecure permissions, or when a program accidentally operates on the wrong object. For example, a program may intend that private files can only be provided to a specific user. This effectively defines a control sphere that is intended to prevent attackers from accessing these private files. If the file permissions are insecure, then parties other than the user will be able to access those files. A separate control sphere might effectively require that the user can only access the private files, but not any other files on the system. If the program does not ensure that the user is only requesting private files, then the user might be able to access other files on the system. In either case, the end result is that a resource has been exposed to the wrong party.