7.2high
Improper regex in htaccess file
- Severity
- 7.2high CVSS:3.1 by Mautic
- Exploit likelihood
- 0.51% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mautic
- Also known as
- GHSA-mj6m-246h-9w56
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mautic/core | < 3.3.5, < 4.2.0 | CVE List |
| mautic mautic | before 3.3.5, before 4.2.0 | CVE List |
| mautic/core (Packagist) | before 3.3.5, from 4.0.0 before 4.2.0 | GitHub Advisory Database |
| acquia mautic | before 3.3.5, from 4.0.0 before 4.2.0 | NVD |
All scores
| Mautic | 7.2high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H |
| GitHub | medium rating | |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
the 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.
Patches
Please upgrade to 3.3.5 or 4.2.0
Workarounds
No
References
- Release post: https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic
- Internally tracked under MST-32
For more information
If you have any questions or comments about this advisory:
- Email us at security@mautic.org
NVD (es)
ImpactoEl archivo .htaccess predeterminado tiene algunas restricciones en el acceso a los archivos PHP para permitir que solo se ejecuten archivos PHP específicos en la raíz de la aplicación. Esta lógica no es correcta, ya que la expresión regular en el segundo FilesMatch solo verifica el nombre del archivo, no la ruta completa.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25769 changed 2024-09-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mj6m-246h-9w56 changed 2024-12-05 | CC-BY-4.0 |
| NVD | CVE-2022-25769 changed 2026-06-17 | Public domain |