CVE-2006-4936 Moodle does not properly validate module instance id
Insufficient validation of module instance IDs in Moodle allows attackers to bypass authorization checks, potentially leading to privilege escalation or unauthorized data modification.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2006-4936?
CVE-2006-4936 is a critical missing authorization vulnerability in Moodle Moodle, published on 23 Sep 2006. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Moodle before 1.6.2 does not properly validate the module instance id when creating a course module object, which has unspecified impact and remote attack vectors.
Weakness: CWE-20
Which versions are affected by CVE-2006-4936?
2 open source packages ship an affected version, including moodle/moodle. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
moodle/moodle Packagist | All versions | 1.6.2 |
moodle/moodle Packagist | All versions | 1.6.2 |
Products include Moodle Moodle.
How do I fix CVE-2006-4936?
Upgrade moodle/moodle to 1.6.2 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2006-4936 being exploited?
There is no known exploitation of CVE-2006-4936 in the wild and no public exploit code.
Other vulnerabilities in Moodle Moodle
- CVE-2006-4935 File upload in n/a
- CVE-2004-2233 Unknown "front page vulnerability with Moodle servers" for Moodle before 1.3.2 has unknown impact and attack vectors.
- CVE-2004-2235 Cross-site scripting in n/a
- CVE-2004-2236 Other in n/a
- CVE-2004-2237 Unknown vulnerability in Moodle before 1.3.4 has unknown impact and attack vectors, related to "strings in Moodle texts."
Sources
Also known as GHSA-h9w8-4376-j344.