Miggo Logo

CVE-2019-14883: Moodle Email media URL tokens were not checking for user status

5.3

CVSS Score
3.1

Basic Information

EPSS Score
0.51984%
Published
5/24/2022
Updated
5/3/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
moodle/moodlecomposer>= 3.6, < 3.6.73.6.7
moodle/moodlecomposer>= 3.7, < 3.7.33.7.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing authorization checks during token validation for email attachments. Key indicators:

  1. The CWE-285/862 classification shows missing user status checks during authorization
  2. The pattern matches Moodle's file serving architecture where tokens are validated in filelib.php
  3. User status checks (suspended/deleted flags) would typically be handled in user authentication components
  4. The fix versions (3.6.7/3.7.3) likely added user status validation to these token verification flows While exact commit details are unavailable, these functions represent core components that would handle token validation and file access authorization in Moodle's architecture.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

* vuln*r**ility w*s *oun* in Moo*l* *.* ***or* *.*.* *n* *.* ***or* *.*.*, w**r* tok*ns us** to **t** inlin* *t***m*nts in *m*il noti*i**tions w*r* not *is**l** w**n * us*r's ***ount w*s no lon**r **tiv*. Not*: to ****ss *il*s, * us*r woul* n*** to k

Reasoning

T** vuln*r**ility st*ms *rom missin* *ut*oriz*tion ****ks *urin* tok*n v*li**tion *or *m*il *tt***m*nts. K*y in*i**tors: *. T** *W*-***/*** *l*ssi*i**tion s*ows missin* us*r st*tus ****ks *urin* *ut*oriz*tion *. T** p*tt*rn m*t***s Moo*l*'s *il* s*rv