CVE-2022-45149

Summary

CVECVE-2022-45149
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-11-23 15:15:00 UTC
Updated2023-11-07 03:54:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-352

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Operating System Fedoraproject Fedora 37 All All All
Application Moodle Moodle All All All All

References

ReferenceSourceLinkTags
Moodle.org: MSA-22-0029: Course restore - CSRF token passed in course redirect URL moodle.org
[SECURITY] Fedora 36 Update: moodle-3.11.11-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 36 Update: moodle-3.11.11-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
2142772 – (CVE-2022-45149, MSA-22-0029) CVE-2022-45149 moodle: course restore - CSRF token passed in course redirect URL bugzilla.redhat.com
Official Moodle git projects - moodle.git/search MISC git.moodle.org
[SECURITY] Fedora 37 Update: moodle-4.1-1.fc37 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 37 Update: moodle-4.1-1.fc37 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: moodle-3.11.11-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: moodle-3.11.11-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 283384 Fedora Security Update for moodle (FEDORA-2022-cb7084ae1c)
  • 283385 Fedora Security Update for moodle (FEDORA-2022-f7fdcb1820)
  • 283397 Fedora Security Update for moodle (FEDORA-2022-74a9c8e95f)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report