#VU49972 PHP file inclusion in Moodle


Published: 2021-01-25

Vulnerability identifier: #VU49972

Vulnerability risk: Medium

CVSSv3.1: 6.3 [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-20187

CWE-ID: CWE-98

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Moodle
Web applications / Other software

Vendor: moodle.org

Description

The vulnerability allows a remote administrator to include and execute arbitrary PHP files on the server.

The vulnerability exists due to incorrect input validation when including PHP files during Shibboleth authentication. A remote administrator can include and execute arbitrary PHP code on the system with privileges of the web server.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Moodle: 3.5.0 - 3.5.15, 3.7.0 - 3.7.9, 3.8.0 - 3.8.6, 3.9.0 - 3.9.3, 3.10.0, 3.3 - 3.3.9, 3.6.0 - 3.6.10, 3.1.0 - 3.1.18, 3.4.0 - 3.4.9, 3.2.0 - 3.2.9, 3.0 - 3.0.10


External links
http://moodle.org/mod/forum/discuss.php?d=417171


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability