Cross-site request forgery in Moodle



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-2986
CWE-ID CWE-352
Exploitation vector Network
Public exploit N/A
Vulnerable software
Moodle
Web applications / Other software

Vendor moodle.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Cross-site request forgery

EUVDB-ID: #VU66891

Risk: Medium

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-2986

CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin. 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 and enable or disable installed H5P libraries.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Moodle: 3.11 - 4.0.2

CPE2.3 External links

https://moodle.org/mod/forum/discuss.php?d=437685
https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###