Advisory

GHSA-xh2j-q4mc-v522

Also known as: CVE-2018-1133

Summary

Moodle calculated question type allows remote code execution by Question authors

Details

An issue was discovered in Moodle 3.x. A Teacher creating a Calculated question can intentionally cause remote code execution on the server, aka eval injection.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-13 01:18 UTC
Modified
2024-04-23 23:58 UTC

Affected packages and fixes

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.1, fixed 3.1.12 (ecosystem)

Fixed versions

3.1.12

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.2, fixed 3.2.9 (ecosystem)

Fixed versions

3.2.9

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.3, fixed 3.3.6 (ecosystem)

Fixed versions

3.3.6

Fix

The export has no generic command for this ecosystem.

moodle/moodle

Packagist · All systems

Affected

  • introduced 3.4, fixed 3.4.3 (ecosystem)

Fixed versions

3.4.3

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