VDB
Sign up
MEDIUM

GHSA-wxvp-8q8h-r6rr

Moodle Double-Caches Content, Potentially Writing to a File System's Tmp Directory

Quick fix

GHSA-wxvp-8q8h-r6rr — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.0.4

Details

The theme implementation in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 triggers duplicate caching of Cascading Style Sheets (CSS) and JavaScript content, which allows remote attackers to bypass intended access restrictions and write to an operating-system temporary directory via unspecified vectors.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.0Fixed in: 2.0.4
Fixcomposer require moodle/moodle:^2.0.4
Packagist/moodle/moodle
Introduced in: 2.1Fixed in: 2.1.1
Fixcomposer require moodle/moodle:^2.1.1

References