CVE-2022-41705: Badaso vulnerable to Remote Code Execution (RCE)
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.82784%
CWE
Published
11/25/2022
Updated
1/28/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 |
|---|---|---|---|
| badaso/core | composer | < 2.7.0 | 2.7.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper file validation (CWE-434) leading to code execution (CWE-94). The exploit requires uploading a PHP file with an XML header to bypass security checks. The MediaController's file upload handler is the logical component that would process() uploads. Since the advisory explicitly mentions unauthenticated RCE via file upload and the patch was released in 2.7.0, this function likely lacked proper content-type validation and dangerous file type restrictions in vulnerable versions.