Miggo Logo

CVE-2017-16163:
Directory Traversal in dylmomo

7.5

CVSS Score
3.0

Basic Information

EPSS Score
0.67352%
Published
9/1/2020
Updated
9/13/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
dylmomonpm>= 0.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability description explicitly states that affected versions resolve relative paths insecurely. While no specific code is available, the pattern matches classic path traversal vulnerabilities where user-controlled input (URL path) is directly used to construct filesystem paths without: 1) normalization, 2) checking if the resolved path remains within the intended root directory. The example attack using '/../../../../etc/passwd' confirms this pattern. In Node.js servers, this would typically occur in the core request handler responsible for serving static files, where path.join() or similar methods are used without subsequent containment checks.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*****t** v*rsions o* `*ylmomo` r*solv* r*l*tiv* *il* p*t*s, r*sultin* in * *ir**tory tr*v*rs*l vuln*r**ility. * m*li*ious **tor **n us* t*is vuln*r**ility to ****ss *il*s outsi** o* t** int*n*** *ir**tory root, w*i** m*y r*sult in t** *is*losur* o* p

Reasoning

T** vuln*r**ility **s*ription *xpli*itly st*t*s t**t *****t** v*rsions r*solv* r*l*tiv* p*t*s ins**ur*ly. W*il* no sp**i*i* *o** is *v*il**l*, t** p*tt*rn m*t***s *l*ssi* p*t* tr*v*rs*l vuln*r**iliti*s w**r* us*r-*ontroll** input (URL p*t*) is *ir**t