Miggo Logo

CVE-2024-4701: Genie Path Traversal vulnerability via File Uploads

9.9

CVSS Score
3.1

Basic Information

EPSS Score
0.93947%
Published
5/9/2024
Updated
5/14/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Package NameEcosystemVulnerable VersionsFirst Patched Version
com.netflix.genie:genie-webmaven< 4.3.184.3.18

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper filename validation in the file upload handler. The commit diff shows the validation logic in LocalFileSystemAttachmentServiceImpl.java was insufficient, only checking for exact '..' matches rather than any occurrence. This function directly processes user-controlled filenames and writes files to disk, making it the attack vector. The patch explicitly modifies this validation check to address the vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Ov*rvi*w P*t* Tr*v*rs*l Vuln*r**ility vi* *il* Uplo**s in **ni* ### Imp**t *ny **ni* OSS us*rs runnin* t**ir own inst*n** *n* r*lyin* on t** *il*syst*m to stor* *il* *tt***m*nts su*mitt** to t** **ni* *ppli**tion m*y ** imp**t**. Usin* t*is t*

Reasoning

T** vuln*r**ility st*ms *rom improp*r *il*n*m* v*li**tion in t** *il* uplo** **n*l*r. T** *ommit *i** s*ows t** v*li**tion lo*i* in Lo**l*il*Syst*m*tt***m*ntS*rvi**Impl.j*v* w*s insu**i*i*nt, only ****kin* *or *x**t '..' m*t***s r*t**r t**n *ny o**ur