CVE-2022-25769

Improper regex in htaccess file

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.

Remediation

Solution:

  • Upgrade to 3.3.5 or 4.2.0. If you're using Mautic in a sub-folder with Apache (e.g. example.com/mautic), please review the guidance in this GitHub issue https://github.com/mautic/mautic/issues/10913#issuecomment-1055681986  before updating, as you will probably need to make some changes to the .htaccess file after you update.

Category

7.2
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.13%
Vendor Advisory github.com
Affected: Mautic Mautic
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-25769?
CVE-2022-25769 has been scored as a high severity vulnerability.
How to fix CVE-2022-25769?
To fix CVE-2022-25769: Upgrade to 3.3.5 or 4.2.0. If you're using Mautic in a sub-folder with Apache (e.g. example.com/mautic), please review the guidance in this GitHub issue https://github.com/mautic/mautic/issues/10913#issuecomment-1055681986  before updating, as you will probably need to make some changes to the .htaccess file after you update.
Is CVE-2022-25769 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-25769 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-25769?
CVE-2022-25769 affects Mautic Mautic.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.