The issue is related to the core enrol get course enrolment methods and enrol self get instance info web services in Moodle, which do not consider the moodle/course:viewhiddencourses capability. This allows remote authenticated users to obtain sensitive information via a web-service request. The vulnerability is associated with insufficient access control, enabling a remote attacker to gain confidential information through a web service request.