CVE-2013-1830 Moodle does not enforce the forceloginforprofiles setting

Medium 5.0 Published Updated

Remote attackers with guest access can view sensitive course profiles in Moodle if the forceloginforprofiles setting is not enforced.

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-2013-1830?

CVE-2013-1830 is a medium-severity missing authorization vulnerability in Fedoraproject Fedora, published on 25 Mar 2013. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

user/view.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 does not enforce the forceloginforprofiles setting, which allows remote attackers to obtain sensitive course-profile information by leveraging the guest role, as demonstrated by a Google search.

Weakness: CWE-264

Which versions are affected by CVE-2013-1830?

8 open source packages ship an affected version, including moodle/moodle. It affects 2 products.

PackageAffectedFixed in
moodle/moodle PackagistAll versions to 2.1.10None
moodle/moodle PackagistAll versions to 2.1.10None
moodle/moodle PackagistFrom 2.2.02.2.8
moodle/moodle PackagistFrom 2.2.02.2.8
moodle/moodle PackagistFrom 2.3.02.3.5
moodle/moodle PackagistFrom 2.3.02.3.5
2 more packages
moodle/moodle PackagistFrom 2.4.02.4.2
moodle/moodle PackagistFrom 2.4.02.4.2

Products include Fedoraproject Fedora, Moodle Moodle.

How do I fix CVE-2013-1830?

Upgrade moodle/moodle to a fixed version for your release line: 2.2.8, 2.3.5 or 2.4.2.

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

Is CVE-2013-1830 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-8r7x-qq55-74v2, UBUNTU-CVE-2013-1830.

Is CVE-2013-1830 in your software?

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

Check your SBOMs for free