CVE-2020-36070: Remote code execution in Voyager
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78349%
CWE
Published
4/26/2023
Updated
11/12/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| tcg/voyager | composer | <= 1.4.0 |
Vulnerability Intelligence
Miggo AI
Root 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.