VDB
Sign up
MEDIUM

GHSA-x7r4-26m9-hmgq

Moodle vulnerable to symlink attack

Quick fix

GHSA-x7r4-26m9-hmgq — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^1.9.4

Details

`spell-check-logic.cgi` in Moodle 1.9 before 1.9.4, 1.8 before 1.8.8, 1.7 before 1.7.7 and 1.6 before 1.6.9 allows local users to overwrite arbitrary files via a symlink attack on the (1) `/tmp/spell-check-debug.log`, (2) `/tmp/spell-check-before`, or (3) `/tmp/spell-check-after` temporary file.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 1.9.0Fixed in: 1.9.4
Fixcomposer require moodle/moodle:^1.9.4
Packagist/moodle/moodle
Introduced in: 1.8.0Fixed in: 1.8.8
Fixcomposer require moodle/moodle:^1.8.8
Packagist/moodle/moodle
Introduced in: 1.7.0Fixed in: 1.7.7
Fixcomposer require moodle/moodle:^1.7.7
Packagist/moodle/moodle
Introduced in: 1.6.0Fixed in: 1.6.9
Fixcomposer require moodle/moodle:^1.6.9

References