VDB
Sign up
MEDIUM

GHSA-mj6m-246h-9w56

Improper regex in htaccess file

Quick fix

GHSA-mj6m-246h-9w56 — mautic/core: upgrade to the fixed version with the command below.

composer require mautic/core:^3.3.5

Details

### 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](mailto:security@mautic.org)

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mautic/core
Introduced in: 0Fixed in: 3.3.5
Fixcomposer require mautic/core:^3.3.5
Packagist/mautic/core
Introduced in: 4.0.0Fixed in: 4.2.0
Fixcomposer require mautic/core:^4.2.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/mautic/core"]}'