Moodle 3.2.x < 3.2.1 Multiple Vulnerabilities

medium Nessus Network Monitor Plugin ID 9924

Synopsis

The remote web server is hosting a web application that is vulnerable to multiple attack vectors.

Description

The remote web server hosts Moodle, an open-source course management system. Versions of Moodle 3.2.x prior to 3.2.1 are affected by multiple vulnerabilities :

- A flaw exists that allows traversing outside of a restricted path. The issue is due to the 'lib/classes/scss.php' script not properly sanitizing user input, specifically path traversal style attacks (e.g. '../') supplied via file paths when including files in boost theme presets. With a specially crafted request, an authenticated, remote attacker can disclose the contents of arbitrary files. The fix only permits .scss files loaded from within the theme directory.
- A flaw exists that is triggered when forum post authors edit posts, as it is possible to change too many fields. This may allow an authenticated, remote attacker to unexpectedly manipulate certain fields.
- A flaw exists that allows a cross-site scripting (XSS) attack. This flaw exists because the assignment submission page does not validate certain input before returning it to users. This may allow a remote attacker to create a specially crafted request that would execute arbitrary script code in a user's browser session within the trust relationship between their browser and the server.

Solution

Upgrade to Moodle version 3.2.1 or later.

See Also

https://docs.moodle.org/dev/Moodle_3.2.1_release_notes

Plugin Details

Severity: Medium

ID: 9924

Family: CGI

Published: 1/27/2017

Updated: 3/6/2019

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 5.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:X/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:moodle:moodle

Patch Publication Date: 1/9/2017

Vulnerability Publication Date: 1/4/2017

Reference Information

CVE: CVE-2017-2576, CVE-2017-2578

BID: 95647, 95649