URL Redirection to Untrusted Site ('Open Redirect') Affecting moodle/moodle package, versions >=3.9, <3.9.15 >=3.11, <3.11.8 >=4.0, <4.0.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.17% (54th 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-6673776
  • published 25 Apr 2024
  • disclosed 26 Jul 2022
  • credit petermaster

How to fix?

Upgrade moodle/moodle to version 3.9.15, 3.11.8, 4.0.2 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to URL Redirection to Untrusted Site ('Open Redirect') due to improper sanitization of user-supplied data in the mobile auto-login feature. An attacker can create a link that leads to a trusted website, which, when clicked, redirects the victims to an arbitrary URL/domain.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

6.1 medium