{"id":"CVE-2022-25769","aliases":["CVE-2022-25769","GHSA-mj6m-246h-9w56"],"related":[],"kind":"vulnerability","state":"published","title":"Improper regex in htaccess file","summary":"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.\n\nThis logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nThis logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.","source":"cvelist"},{"lang":"en","text":"### Impact\nthe 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.\n\nThis logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.\n\n### Patches\nPlease upgrade to 3.3.5 or 4.2.0 \n\n### Workarounds\nNo\n\n### References\n\n- Release post: https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic\n- Internally tracked under MST-32\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [security@mautic.org](mailto:security@mautic.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2022-03-01T22:05:34.000Z","modified":"2026-06-17T04:34:14.850Z","severity":{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"Mautic","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-1284"],"affected":[{"ranges":[{"type":"semver","version":"< 3.3.5","status":"affected"},{"type":"semver","version":"< 4.2.0","status":"affected"}],"vendor":"Mautic","product":"Mautic","package":"mautic/core","repo":"https://github.com/mautic/mautic","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"3.3.5","status":"affected"},{"type":"custom","introduced":"0","fixed":"4.2.0","status":"affected"}],"vendor":"mautic","product":"mautic","cpe":"cpe:2.3:a:mautic:mautic:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.5"}],"ecosystem":"Packagist","package":"mautic/core","purl":"pkg:composer/mautic/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.2.0"}],"ecosystem":"Packagist","package":"mautic/core","purl":"pkg:composer/mautic/core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.5"},{"status":"affected","introduced":"4.0.0","fixed":"4.2.0"}],"vendor":"acquia","product":"mautic","cpe":"cpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-mj6m-246h-9w56","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["Mattias Michaux","John Linhart","Zdeno Kuzmany"],"assigner":"Mautic","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-09-18T18:10:59.918Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25769","url":"https://www.cve.org/CVERecord?id=CVE-2022-25769","licence":"CVE Terms of Use","modified":"2024-09-18T21:28:12.305Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mj6m-246h-9w56","url":"https://github.com/advisories/GHSA-mj6m-246h-9w56","licence":"CC-BY-4.0","modified":"2024-12-05T05:38:41.800Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25769","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25769","licence":"Public domain","modified":"2026-06-17T04:34:14.850Z"}],"updatedAt":"2026-11-25T22:58:19.983Z","epss":{"score":0.00507,"percentile":0.44853,"date":"2026-12-01T12:00:22.000Z"}}