CRLF Injection Vulnerability in Moodle Package: A Security Concern

moodle Updated 03 Oct 2025

Summary

22/12/2011
N/A
No i
Unrated
Not published

UBUNTU-CVE-2011-4203: CRLF injection vulnerability in calendar/set.php in the Calendar component in Moodle 1.9.x before 1.9.15, 2.0.x before 2.0.6, 2.1.x before 2.1.3, and 2.2 allows remote attackers to inject arbitrary HTTP headers and condu... Affects moodle versions 2.7.10+dfsg-1 – 3.0.3+dfsg-0ubuntu1. No fix is published. 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. The platform supports various functionalities such as course management, user enrollment, and content delivery. However, certain versions of Moodle are susceptible to a CRLF injection vulnerability, which can lead to severe security implications.

Vulnerability Detail

The CRLF injection vulnerability exists in the Calendar component of Moodle, specifically in the calendar/set.php file. This flaw allows remote attackers to inject arbitrary HTTP headers through manipulated URL variables, leading to HTTP response splitting attacks. Such attacks can result in session hijacking, cache poisoning, and other malicious activities that compromise user data and application integrity.

How To Fix

No fixed version is published for this vulnerability.

To rectify this vulnerability, it is essential to update Moodle to a patched version. Users should upgrade to Moodle versions 1.9.15, 2.0.6, 2.1.3, or later. The update can typically be performed using the following command in the terminal:

sudo apt-get update moodle

Ensure to back up your data before proceeding with the update.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, it is recommended to restrict access to the affected calendar/set.php file until the package can be updated. This can be achieved by modifying the server configuration to deny access to this specific file.

Conclusion

The CRLF injection vulnerability in Moodle poses a significant risk to users and their data. It is crucial to update to the latest patched versions to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and alert for vulnerabilities in your software effectively.

See every vulnerability recorded for moodle →

Share this vulnerability

FAQ

CRLF injection is a type of security vulnerability that allows an attacker to inject carriage return (CR) and line feed (LF) characters into HTTP headers, potentially leading to various attacks such as HTTP response splitting.

The vulnerability affects Moodle versions prior to 1.9.15, 2.0.6, 2.1.3, and 2.2.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability can lead to session hijacking, cache poisoning, and unauthorized access to sensitive user data.

Yes, Vulert provides a service that monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for 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

No fixed version is published for this vulnerability.

To rectify this vulnerability, it is essential to update Moodle to a patched version. Users should upgrade to Moodle versions 1.9.15, 2.0.6, 2.1.3, or later. The update can typically be performed using the following command in the terminal:

sudo apt-get update moodle

Ensure to back up your data before proceeding with the update.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.