CVE-2019-3849 Moodle Users could elevate their role when accessing the LTI tool on a provider site

Medium 6.3 Published Updated

Attackers can escalate privileges within Moodle courses or LTI content by modifying requests, allowing unauthorized role assignment.

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-2019-3849?

CVE-2019-3849 is a medium-severity vulnerability in Moodle Moodle, published on 26 Mar 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in moodle before versions 3.6.3, 3.5.5 and 3.4.8. Users could assign themselves an escalated role within courses or content accessed via LTI, by modifying the request to the LTI publisher site.

Weakness: CWE-269, CWE-285

Which versions are affected by CVE-2019-3849?

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

PackageAffectedFixed in
moodle/moodle PackagistAll versions3.4.8
moodle/moodle PackagistAll versions3.4.8
moodle/moodle PackagistFrom 3.53.5.5
moodle/moodle PackagistFrom 3.53.5.5
moodle/moodle PackagistFrom 3.63.6.3
moodle/moodle PackagistFrom 3.63.6.3

Products include Moodle Moodle.

How do I fix CVE-2019-3849?

Upgrade moodle/moodle to a fixed version for your release line: 3.4.8, 3.5.5 or 3.6.3.

Is CVE-2019-3849 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-5wg9-5w3f-hxmh.

Is CVE-2019-3849 in your software?

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

Check your SBOMs for free