Description d’origine
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.
Logiciels concernés
- Moodle ≥ 4.0.0 < 4.0.5≥ 3.9.0 < 3.9.18≥ 3.11.0 < 3.11.11 Corrigé dans: 4.0.5, 3.9.18, 3.11.11 correspondance exacte
Détails
- Publication
- 2022-11-23
- Dernière modification
- 2026-06-17
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N- CWE
- CWE-352
- EPSS (probabilité d’exploitation à 30 jours)
- 0.44% (percentile 39)
Références
- cve.org/CVE-2022-45149
- nvd.nist.gov/vuln/detail/CVE-2022-45149
- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75862
- bugzilla.redhat.com/show_bug.cgi?id=2142772
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N...
- moodle.org/mod/forum/discuss.php?d=440769
Suivez ces versions sur vos propres serveurs
InfraGuard collecte les versions logicielles installées sur chaque serveur et signale celles qui présentent des vulnérabilités connues. Auto-hébergé : rien ne quitte votre réseau.
Ce produit utilise des données de l’API du NVD, mais n’est ni approuvé ni certifié par le NVD. CVE® est une marque déposée de The MITRE Corporation ; les enregistrements CVE sont utilisés conformément aux conditions d’utilisation du CVE Program.