CVE-2016-2190: Moodle sensitive information disclosure
5.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.63371%
CWE
-
Published
5/13/2022
Updated
1/26/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | <= 2.6.11 | |
moodle/moodle | composer | >= 2.7.0, < 2.7.13 | 2.7.13 |
moodle/moodle | composer | >= 2.8.0, < 2.8.11 | 2.8.11 |
moodle/moodle | composer | >= 2.9.0, < 2.9.5 | 2.9.5 |
moodle/moodle | composer | >= 3.0.0, < 3.0.3 | 3.0.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing rel='noreferrer' attributes on links with target='_blank'. The patch added this attribute via two mechanisms: (1) A custom HTMLPurifier module in lib/weblib.php to automatically append the attribute during HTML sanitization, and (2) direct modification to the URL field rendering in mod/data/field/url/field.class.php. In vulnerable versions, the purify_html function lacked the Noreferrer module configuration, and the display_browse_field method omitted the rel attribute. These omissions allowed Referer header leakage, making these functions the root cause.