Advisory

GHSA-2jrm-gww7-wch2

Also known as: BIT-moodle-2021-20187, CVE-2021-20187

Summary

Moodle Arbitrary PHP code execution by site admins via Shibboleth configuration

Details

It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that it was possible for site administrators to execute arbitrary PHP scripts via a PHP include used during Shibboleth authentication.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:40 UTC
Modified
2024-04-23 23:58 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.5, fixed 3.5.16 (ecosystem)

Fixed versions

3.5.16

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.8, fixed 3.8.7 (ecosystem)

Fixed versions

3.8.7

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.9, fixed 3.9.4 (ecosystem)

Fixed versions

3.9.4

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.10, fixed 3.10.1 (ecosystem)

Fixed versions

3.10.1

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