GitHub Advisoryadvisory · Packagist

GHSA-mj6m-246h-9w56 Improper regex in htaccess file

MEDIUM Published 2022-03-01 Modified 2022-03-01 Official page ↗
Aliases
CVE-2022-25769
Ecosystem
Packagist
Packages
mautic/core
Severity
Moderate
Reviewed
2022-03-01

Affected packages

• Packagist mautic/core: < 3.3.5 → fixed in 3.3.5 • Packagist mautic/core: >= 4.0.0, < 4.2.0 → fixed in 4.2.0

Description

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 [email protected]

Related

Alias · CVE (1)

  • CVE-2022-25769 ImpactThe default .htaccess file has some restrictions in the access to PHP files to only allow specific PHP files to be executed in the… vulnerability

References