Miggo Logo

CVE-2017-5537: Weblate user account enumeration via reset password form

5.3

CVSS Score
3.1

Basic Information

EPSS Score
0.66742%
Published
5/17/2022
Updated
11/19/2024
KEV Status
No
Technology
TechnologyPython

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
weblatepip< 2.10.12.10.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the password reset form leaking account existence through error messages. The commit diff shows the critical fix occurred in weblate/accounts/views.py where the else-clause was modified to redirect to 'email-sent' regardless of validation outcome. This directly addresses CWE-209 (sensitive info in errors) by eliminating differential error messages. The reset_password() function is explicitly responsible for handling password reset logic, making it the clear source of the vulnerability before patching.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T** p*sswor* r*s*t *orm in W**l*t* ***or* *.**.* provi**s *i***r*nt *rror m*ss***s **p*n*in* on w**t**r t** *m*il ***r*ss is *sso*i*t** wit* *n ***ount, w*i** *llows r*mot* *tt**k*rs to *num*r*t* us*r ***ounts vi* * s*ri*s o* r*qu*sts.

Reasoning

T** vuln*r**ility st*ms *rom t** p*sswor* r*s*t *orm l**kin* ***ount *xist*n** t*rou** *rror m*ss***s. T** *ommit *i** s*ows t** *riti**l *ix o**urr** in `w**l*t*/***ounts/vi*ws.py` w**r* t** *ls*-*l*us* w*s mo*i*i** to r**ir**t to '*m*il-s*nt' r***r