{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ID": "CVE-2022-45149", "ASSIGNER": "patrick@puiterwijk.org", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "n/a", "product": { "product_data": [ { "product_name": "Moodle", "version": { "version_data": [ { "version_value": "Fixed in moodle 4.0.5, moodle 3.11.11, moodle 3.9.18" } ] } } ] } } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-352 - Cross-Site Request Forgery (CSRF)" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2142772", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2142772" }, { "refsource": "MISC", "name": "https://moodle.org/mod/forum/discuss.php?d=440769", "url": "https://moodle.org/mod/forum/discuss.php?d=440769" }, { "refsource": "MISC", "name": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75862", "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75862" }, { "refsource": "FEDORA", "name": "FEDORA-2022-f7fdcb1820", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/74SXNGA5RIWM7QNX7H3G7SYIQLP4UUGV/" }, { "refsource": "FEDORA", "name": "FEDORA-2022-cb7084ae1c", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NLRJB5JNKK3VVBLV3NH3RI7COEDAXSAB/" }, { "refsource": "FEDORA", "name": "FEDORA-2022-74a9c8e95f", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2DHYIIAUXUBHMBEDYU7TYNZXEN2W2SA2/" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] } }