Miggo Logo

CVE-2014-0124: Moodle allows attackers to obtain sensitive information

4

CVSS Score

Basic Information

EPSS Score
0.42396%
CWE
-
Published
5/13/2022
Updated
1/24/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
AV:N/AC:L/Au:S/C:P/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
moodle/moodlecomposer< 2.4.92.4.9
moodle/moodlecomposer>= 2.5.0, < 2.5.52.5.5
moodle/moodlecomposer>= 2.6.0, < 2.6.22.6.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing access checks for email visibility in two modules. The provided commit diff explicitly modifies these functions to add a $canviewemail check using get_extra_user_fields(), which validates permissions. Before the patch, both functions directly included email addresses in their output without this authorization step. The files and functions match the vulnerability description and patch context, confirming their role in the exposure.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

T** i**ntity-r*portin* impl*m*nt*tions in mo*/*orum/r*n**r*r.p*p *n* mo*/quiz/ov*rri**_*orm.p*p in Moo*l* t*rou** *.*.**, *.*.x ***or* *.*.*, *.*.x ***or* *.*.*, *n* *.*.x ***or* *.*.* *o not prop*rly r*stri*t t** *ispl*y o* *-m*il ***r*ss*s, w*i** *

Reasoning

T** vuln*r**ility st*ms *rom missin* ****ss ****ks *or *m*il visi*ility in two mo*ul*s. T** provi*** *ommit *i** *xpli*itly mo*i*i*s t**s* *un*tions to *** * $**nvi*w*m*il ****k usin* **t_*xtr*_us*r_*i*l*s(), w*i** v*li**t*s p*rmissions. ***or* t** p