CVE-2011-4295 Missing authorization in n/a

Medium 6.5 Published Updated

Authenticated users can escalate privileges by assigning roles due to missing authorization checks in Moodle's external API.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2011-4295?

CVE-2011-4295 is a medium-severity missing authorization vulnerability in Moodle Moodle, published on 16 Jul 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not have an authorization check, which allows remote authenticated users to gain privileges by making a role assignment.

Weakness: CWE-264

Which versions are affected by CVE-2011-4295?

It affects 1 product.

Products include Moodle Moodle.

How do I fix CVE-2011-4295?

No fix has been published for CVE-2011-4295 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2011-4295 being exploited?

There is no known exploitation of CVE-2011-4295 in the wild and no public exploit code.

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-7q33-5wgv-9752.

Is CVE-2011-4295 in your software?

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

Check your SBOMs for free