VDB
Sign up
CRITICAL10.0

GHSA-jp4g-r8c9-3534

Moodle Blind SSRF Risk in /badges/mybackpack.php

Quick fix

GHSA-jp4g-r8c9-3534 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.1.16

Details

A flaw was found in Moodle versions 3.1 to 3.1.15 and earlier unsupported versions. The mybackpack functionality allowed setting the URL of badges, when it should be restricted to the Mozilla Open Badges backpack URL. This resulted in the possibility of blind SSRF via requests made by the page.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.1Fixed in: 3.1.16
Fixcomposer require moodle/moodle:^3.1.16

References