Miggo Logo

CVE-2012-4404: MoinMoin Improper Access Control

5.4

CVSS Score
3.1

Basic Information

EPSS Score
0.75893%
Published
5/17/2022
Updated
9/26/2024
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
moinpip>= 1.9, < 1.9.51.9.5

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from line 242-243 in the original code where the check 'if special in entry:' erroneously looked for virtual group keywords in the group NAME string rather than the group MEMBERS list. The commit diff shows the fix changed this to check 'this_group' (the group members) instead of 'entry' (the group name). This function is the core ACL evaluation mechanism that determines user permissions, making it the clear source of improper access control.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

`s**urity/__init__.py` in MoinMoin *.* t*rou** *.*.* *o*s not prop*rly **n*l* *roup n*m*s t**t *ont*in virtu*l *roup n*m*s su** *s "*ll," "Known," or "Trust**," w*i** *llows r*mot* *ut**nti**t** us*rs wit* virtu*l *roup m*m**rs*ip to ** tr**t** *s *

Reasoning

T** vuln*r**ility st*ms *rom lin* ***-*** in t** ori*in*l *o** w**r* t** ****k 'i* sp**i*l in *ntry:' *rron*ously look** *or virtu*l *roup k*ywor*s in t** *roup N*M* strin* r*t**r t**n t** *roup M*M**RS list. T** *ommit *i** s*ows t** *ix ***n*** t*i