原始描述
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.
受影响的软件
- Moodle ≥ 4.0.0 < 4.0.5≥ 3.9.0 < 3.9.18≥ 3.11.0 < 3.11.11 修复版本: 4.0.5, 3.9.18, 3.11.11 精确匹配
详情
- 发布日期
- 2022-11-23
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N- CWE
- CWE-352
- EPSS(30 天内被利用概率)
- 0.44% (百分位 39)
参考资料
- 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
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。