Advisory

GHSA-mj6m-246h-9w56

Also known as: CVE-2022-25769

Summary

Improper regex in htaccess file

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:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-01 22:05 UTC
Modified
2024-12-05 05:38 UTC

Affected packages and fixes

mautic/core

Packagist · All systems

Affected

  • introduced 0, fixed 3.3.5 (ecosystem)

Fixed versions

3.3.5

Fix

The export has no generic command for this ecosystem.

mautic/core

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.2.0 (ecosystem)

Fixed versions

4.2.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences