CVE-2022-25777: Mautic: MST-48 Server-Side Request Forgery in Asset section
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.2745%
CWE
Published
4/12/2024
Updated
9/18/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| mautic/core | composer | >= 1.0.0-beta4, < 4.4.12 | 4.4.12 |
| mautic/core | composer | >= 5.0.0-alpha, < 5.0.4 | 5.0.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from unvalidated user input in the Asset creation form's 'remotePath' field. The patch added Symfony's Url constraint to this field, and the accompanying test case demonstrates blocking file:// protocol usage. The buildForm method in AssetType.php is directly responsible for defining this input field's validation rules, making it the clear vulnerable point before validation was implemented.