Advisory

GHSA-622h-cjgg-5mx6

Also known as: CVE-2015-3181

Summary

Moodle allows attackers to bypass file-management restrictions

Details

files/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 does not consider the moodle/user:manageownfiles capability before approving a private-file upload, which allows remote authenticated users to bypass intended file-management restrictions by using web services to perform uploads after this capability has been revoked.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:12 UTC
Modified
2024-12-08 05:31 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 0, fixed 2.6.11 (ecosystem)

Fixed versions

2.6.11

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.7.0, fixed 2.7.8 (ecosystem)

Fixed versions

2.7.8

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 2.8.0, fixed 2.8.6 (ecosystem)

Fixed versions

2.8.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences