CVE-2022-45149

Medium

Description

A vulnerability was found in Moodle which exists due to insufficient validation of the HTTP request origin in course redirect URL. A user's CSRF token was unnecessarily included in the URL when being redirected to a course they have just restored. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website. This flaw allows an attacker to perform cross-site request forgery attacks.

SeverityMedium
CVSS5.4
Exploit probability—
ProductMoodle
PublishedNov 23, 2022
First seenNov 23, 2022

How to fix

Affected products

ProductAffected versionsFixed in
moodle moodle3.9.0 ≤ v < 3.9.18, 3.11.0 ≤ v < 3.11.11, 4.0.0 ≤ v < 4.0.53.9.18, 3.11.11, 4.0.5
fedoraproject fedora35, 36, 37—
moodle/moodlePackagist3.9.0 ≤ v < 3.9.18, 3.11.0 ≤ v < 3.11.11, 4.0.0 ≤ v < 4.0.53.9.18, 3.11.11, 4.0.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.