CVE-2021-36393CWE-89

In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses

published March 6, 2023

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.0th percentile for exploit probability.

CVSS
—
EPSS
52%
Percentile
99.0
In the wild
Unconfirmed
What it is

⚠️ An SQL injection risk lurks in Moodle's course library! Just when you thought your classes were safe, this sneaky flaw could allow attackers to dig into your data more than you'd like. 🔍 Think of it like a cafeteria serving lunch without checking IDs – anyone can walk in and see what's being served, and they might even change the menu. That’s how this SQL injection lets attackers poke around your database without proper checks. The potential fallout is concerning! An attacker could exploit this vulnerability to fetch unauthorized data, exposing sensitive user information or altering course details. While it hasn’t been exploited in the wild yet, the risk remains. This could be an invitation to chaos in your learning environment!

Put simply

Think of it like a cafeteria serving lunch without checking IDs – anyone can walk in and see what's being served, and they might even change the menu. That’s how this SQL injection lets attackers poke around your database without proper checks. This SQL injection vulnerability in Moodle allows attackers to manipulate database queries when fetching a user's recent courses. If successful, this could enable unauthorized access to sensitive data.

What to do

The potential fallout is concerning! An attacker could exploit this vulnerability to fetch unauthorized data, exposing sensitive user information or altering course details. While it hasn’t been exploited in the wild yet, the risk remains. This could be an invitation to chaos in your learning environment! To protect against this vulnerability, ensure you update Moodle to the latest version where this flaw has been addressed. Regularly audit your database queries to ensure they're secure against SQL injection attacks. 🔒 You've got this! By staying vigilant and applying the right updates, you'll keep your Moodle environment safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.52299 · 99.0th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2023-03-06T00:00Z
EPSS history
Timeline
  • 06 MAR 00:00Z
    In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses
    cvelistv5