Vulnerability Name:

CCN-192381

Published:2020-11-27
Updated:2020-11-27
Summary:Moodle could allow a remote attacker to upload arbitrary files, caused by the improper validation of file extensions by the repository_ajax.php script. By sending a specially-crafted HTTP request, a remote attacker could exploit this vulnerability to upload a malicious PHP script, which could allow the attacker to execute arbitrary PHP code on the vulnerable system.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Consequences:Gain Access
References:Source: XF
Type: UNKNOWN
moodle-repositoryajaxphp-file-upload(192381)

Source: CCN
Type: Moodle Web site
Moodle

Source: CCN
Type: Packet Storm Security [11-27-2020]
Moodle 3.8 Arbitary File Upload

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [11-27-2020]

Vulnerable Configuration:Configuration CCN 1:
  • cpe:/a:moodle:moodle:3.4.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:3.7.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    moodle moodle 3.4
    moodle moodle 3.5
    moodle moodle 3.7.0