CVE-2022-25769 Improper regex in htaccess file
Attackers can bypass .htaccess restrictions to execute arbitrary PHP files due to improper regex validation in Mautic.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25769?
CVE-2022-25769 is a high-severity vulnerability in Mautic, published on 18 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
ImpactThe default .htaccess file has some restrictions in the access to PHP files to only allow specific PHP files to be executed in the root of the application.
This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.
Weakness: CWE-1284
Which versions are affected by CVE-2022-25769?
4 open source packages ship an affected version, including mautic/core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mautic/core Packagist | All versions | 3.3.5 |
mautic/core Packagist | All versions | 3.3.5 |
mautic/core Packagist | From 4.0.0 | 4.2.0 |
mautic/core Packagist | From 4.0.0 | 4.2.0 |
Products include Acquia Mautic.
How do I fix CVE-2022-25769?
Upgrade mautic/core to a fixed version for your release line: 3.3.5 or 4.2.0.
Is CVE-2022-25769 being exploited?
There is no known exploitation of CVE-2022-25769 in the wild and no public exploit code.
Other vulnerabilities in Mautic
- CVE-2022-25772 Cross-site Scripting vulnerability in Mautic's tracking pixel functionality
- CVE-2020-35125 Mautic is vulnerable to XSS vulnerability
- CVE-2020-35124 XSS vulnerability leveraged through referrers could allow un-authorized admin access in Mautic
- CVE-2024-47051 Remote Code Execution & File Deletion in Asset Uploads
- CVE-2020-35128 Mautic stored Cross-site Scripting (XSS)
Sources
Also known as GHSA-mj6m-246h-9w56.