CVE-2022-25768: Mautic vulnerable to Improper Access Control in UI upgrade process
7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.37607%
CWE
Published
9/18/2024
Updated
2/28/2025
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| mautic/core-lib | composer | >= 1.1.3, < 4.4.13 | 4.4.13 |
| mautic/core-lib | composer | >= 5.0.0-alpha, < 5.1.1 | 5.1.1 |
| mautic/core | composer | >= 1.1.3, < 4.4.13 | 4.4.13 |
| mautic/core | composer | >= 5.0.0-alpha, < 5.1.1 | 5.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from code removed in the SecurityController.php's loginAction method, as shown in the commit diff. This code checked for a 'mautic_update' cookie and forwarded requests to upgrade-related AjaxController methods without verifying permissions. The removal of this code in the patch indicates it was the primary vector for unauthorized access to the deprecated UI upgrade process. While the AjaxController methods (updateDatabaseMigration/updateFinalization) were the targets, the root cause was the lack of access control in the loginAction handler that triggered them.