Miggo Logo

CVE-2012-6495: MoinMoin Multiple vulnerable to directory traversal

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.92612%
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:N/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
Moinpip< 1.9.61.9.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability description explicitly names the twikidraw and anywikidraw actions as the source of the path traversal. The linked fix (http://hg.moinmo.in/moin/1.9/rev/7e7e1cbb9d3f) shows modifications to the 'save' methods in both files, introducing taintfilename() to sanitize user-controlled filenames. This confirms the original methods were vulnerable to path traversal due to insufficient input validation.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Multipl* *ir**tory tr*v*rs*l vuln*r**iliti*s in t** (*) twiki*r*w (`**tion/twiki*r*w.py`) *n* (*) *nywiki*r*w (`**tion/*nywiki*r*w.py`) **tions in MoinMoin ***or* *.*.* *llow r*mot* *ut**nti**t** us*rs wit* writ* p*rmissions to ov*rwrit* *r*itr*ry *i

Reasoning

T** vuln*r**ility **s*ription *xpli*itly n*m*s t** twiki*r*w *n* *nywiki*r*w **tions *s t** sour** o* t** p*t* tr*v*rs*l. T** link** *ix (*ttp://**.moinmo.in/moin/*.*/r*v/************) s*ows mo*i*i**tions to t** 's*v*' m*t*o*s in *ot* *il*s, intro*u*