Open Redirect Affecting moodle/moodle package, versions <2.6.11 >=2.7.0-beta, <2.7.9 >=2.9.0-beta, <2.9.1 >=2.8.0-beta, <2.8.7


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.3% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-MOODLEMOODLE-6208124
  • published 28 Jan 2024
  • disclosed 13 May 2022
  • credit Totara

How to fix?

Upgrade moodle/moodle to version 2.6.11, 2.7.9, 2.9.1, 2.8.7 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Open Redirect due to improper validation of user-supplied input to PARAM_LOCALURL in the clean_param function. An attacker can redirect users to arbitrary web sites and conduct phishing attacks by exploiting the HTTP Referer header that partially matches a local URL.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.4 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None