CVE-2011-4291: Moodle Denial of Service via Invalid Database Records

moodle/moodle Updated 14 Dec 2025

Summary

13/05/2022
Yes i
Moderate
4.9

CVE-2011-4291: Moodle allows remote authenticated users to cause a denial of service (invalid database records). Affects moodle/moodle versions >= 2.0.0, < 2.0.3. Fixed in 2.0.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Moodle is an open-source learning platform designed to provide educators, administrators, and learners with a single robust, secure, and integrated system to create personalized learning environments. It offers a wide range of features including course management, user management, and various assessment tools. However, certain versions of Moodle are vulnerable to a denial of service attack due to improper handling of database records, allowing authenticated users to exploit this flaw.

Vulnerability Detail

The vulnerability identified as CVE-2011-4291 affects Moodle versions 2.0.x prior to 2.0.3. It allows remote authenticated users to cause a denial of service by executing a series of crafted ratings operations that lead to the creation of invalid database records. This can disrupt the normal functioning of the application, potentially affecting all users and leading to significant downtime.

How To Fix

Minimum fixed version

2.0.3

This is the first release that contains the fix.

composer require moodle/moodle:2.0.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can limit the permissions of authenticated users to prevent them from executing ratings operations until the update is applied. This can be done by adjusting user roles and capabilities in the Moodle administration settings.

Conclusion

In summary, CVE-2011-4291 is a significant vulnerability in Moodle that can lead to denial of service through crafted ratings operations. It is crucial for users of affected versions to update to 2.0.3 or later to mitigate this risk. Temporary workarounds can be employed to limit exposure until the update is completed.

See every vulnerability recorded for moodle/moodle →

Share this vulnerability

FAQ

CVE-2011-4291 is a vulnerability in Moodle that allows authenticated users to cause a denial of service through invalid database records.

Moodle versions 2.0.x before 2.0.3 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to a denial of service, disrupting the normal operation of Moodle and affecting all users.

If an immediate update is not possible, consider limiting user permissions to prevent exploitation of the vulnerability until a patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for moodle/moodle.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.0.3

This is the first release that contains the fix.

composer require moodle/moodle:2.0.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback