Miggo Logo

CVE-2020-36070: Remote code execution in Voyager

9.8

CVSS Score
3.1

Basic Information

EPSS Score
0.78349%
Published
4/26/2023
Updated
11/12/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
tcg/voyagercomposer<= 1.4.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability explicitly involves the media component's handling of .php files. In Laravel admin panels like Voyager, media upload functionality typically resides in a dedicated MediaController. The critical failure points would be: 1) Lack of proper file extension filtering for executable types (.php), and 2) Failure to set secure file permissions (like removing execute bits) after upload. The combination allows attackers to upload malicious PHP files that the web server will execute. While exact code isn't available, the pattern matches common file upload vulnerabilities in PHP applications where media handlers don't implement proper validation and permission management.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Ins**ur* P*rmission vuln*r**ility *oun* in Voy***r v.*.* *n* ***or* *llows * r*mot* *tt**k*r to *x**ut* *r*itr*ry *o** vi* * *r**t** .p*p *il* to t** m**i* *ompon*nt.

Reasoning

T** vuln*r**ility *xpli*itly involv*s t** m**i* *ompon*nt's **n*lin* o* `.p*p` *il*s. In L*r*v*l **min p*n*ls lik* Voy***r, m**i* uplo** *un*tion*lity typi**lly r*si**s in * ***i**t** `M**i**ontroll*r`. T** *riti**l **ilur* points woul* **: *) L**k o