CVE-2014-0122 Moodle allows bypass of intended access restrictions

Medium 4.9 Published Updated

Authenticated users can bypass chat access restrictions by remaining in a session after administrator revokes their permissions.

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-2014-0122?

CVE-2014-0122 is a medium-severity missing authorization vulnerability in Moodle Moodle, published on 22 Mar 2014. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

mod/chat/chat_ajax.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 does not properly check for the mod/chat:chat capability during chat sessions, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by remaining in a chat session after an intra-session capability removal by an administrator.

Weakness: CWE-264

Which versions are affected by CVE-2014-0122?

6 open source packages ship an affected version, including moodle/moodle. It affects 1 product.

PackageAffectedFixed in
moodle/moodle PackagistAll versions2.4.9
moodle/moodle PackagistAll versions2.4.9
moodle/moodle PackagistFrom 2.5.02.5.5
moodle/moodle PackagistFrom 2.5.02.5.5
moodle/moodle PackagistFrom 2.6.02.6.2
moodle/moodle PackagistFrom 2.6.02.6.2

Products include Moodle Moodle.

How do I fix CVE-2014-0122?

Upgrade moodle/moodle to a fixed version for your release line: 2.4.9, 2.5.5 or 2.6.2.

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

Is CVE-2014-0122 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-f9m9-494r-w36p.

Is CVE-2014-0122 in your software?

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

Check your SBOMs for free