Skip to main content
← All vulnerabilities
CVE-2022-45149GHSA-8V23-W4W5-W83CBIT-MOODLE-2022-45149

A vulnerability was found in Moodle which exists due to insufficient validation of the HTTP request origin in course redirect URL.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.9.18, 3.11.11, 4.0.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a Moodle

    Version range not reported

  • moodle/moodlePackagist

    From 3.9.0 · fixed in 3.9.18

  • moodle/moodlePackagist

    From 3.11.0 · fixed in 3.11.11

  • moodle/moodlePackagist

    From 4.0.0 · fixed in 4.0.5

References 6

bugzilla.redhat.com

moodle.org

git.moodle.org

lists.fedoraproject.org