Lucene search

K
githubGitHub Advisory DatabaseGHSA-VRF6-Q7QJ-69V5
HistoryMay 13, 2022 - 1:12 a.m.

Moodle allows attackers to upload files containing JavaScript

2022-05-1301:12:43
CWE-79
GitHub Advisory Database
github.com
9
moodle
2.6.x
2.7.x
remote attackers
xss attacks
file upload

CVSS2

2.1

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:H/Au:S/C:N/I:P/A:N

AI Score

5.6

Confidence

High

EPSS

0.001

Percentile

46.4%

webservice/upload.php in Moodle 2.6.x before 2.6.6 and 2.7.x before 2.7.3 does not ensure that a file upload is for a private or draft area, which allows remote authenticated users to upload files containing JavaScript, and consequently conduct cross-site scripting (XSS) attacks, by specifying the profile-picture area.

Affected configurations

Vulners
Node
moodlemoodleRange<2.7.3
OR
moodlemoodleRange<2.6.6
VendorProductVersionCPE
moodlemoodle*cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*

CVSS2

2.1

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:H/Au:S/C:N/I:P/A:N

AI Score

5.6

Confidence

High

EPSS

0.001

Percentile

46.4%