CVE-2022-25769
JSON

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 packageVersionsReported by
mautic/core< 3.3.5, < 4.2.0CVE List
mautic mauticbefore 3.3.5, before 4.2.0CVE List
mautic/core (Packagist)before 3.3.5, from 4.0.0 before 4.2.0GitHub Advisory Database
acquia mauticbefore 3.3.5, from 4.0.0 before 4.2.0NVD

All scores

Mautic7.2high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H
GitHubmedium rating
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-1284

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
For more information

If you have any questions or comments about this advisory:

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

SourceRecordLicence
CVE ListCVE-2022-25769 changed 2024-09-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-mj6m-246h-9w56 changed 2024-12-05CC-BY-4.0
NVDCVE-2022-25769 changed 2026-06-17Public domain