CVE-2006-4936 Moodle does not properly validate module instance id

Critical 10.0 Published Updated

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.

PackageAffectedFixed in
moodle/moodle PackagistAll versions1.6.2
moodle/moodle PackagistAll versions1.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.

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-h9w8-4376-j344.

Is CVE-2006-4936 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free