Miggo Logo

CVE-2023-0290: Velociraptor subject to Path Traversal

4.3

CVSS Score
3.1

Basic Information

EPSS Score
0.47295%
Published
1/19/2023
Updated
3/30/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
www.velocidex.com/golang/velociraptorgo< 0.6.7-50.6.7-5

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper client ID sanitization in the CreateCollection API flow. The commit fixes show the addition of utils.ValidateClientId() in ScheduleArtifactCollectionFromCollectorArgs, indicating this was the entry point where unvalidated client IDs were processed. The function's pre-patch behavior allowed directory traversal by accepting crafted client_ids to target server artifacts while only requiring client collection privileges. The high confidence comes from the direct correlation between the vulnerability description and the validation added in this specific function.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

R*pi** V*lo*ir*ptor *i* not prop*rly s*nitiz* t** *li*nt I* p*r*m*t*r to t** *r**t**oll**tion *PI, *llowin* * *ir**tory tr*v*rs*l in w**r* t** *oll**tion t*sk *oul* ** writt*n. It w*s possi*l* to provi** * *li*nt i* o* "../*li*nts/s*rv*r" to s****ul*

Reasoning

T** vuln*r**ility st*ms *rom improp*r *li*nt I* s*nitiz*tion in t** *r**t**oll**tion *PI *low. T** *ommit *ix*s s*ow t** ***ition o* `utils.V*li**t**li*ntI*()` in S****ul**rti***t*oll**tion*rom*oll**tor*r*s, in*i**tin* t*is w*s t** *ntry point w**r*