{"id":"CVE-2022-25769","published":"2024-09-18T14:47:09Z","modified":"2024-09-18T21:28:12Z","title":"Improper regex in htaccess file","vendor":"Mautic","product":"Mautic","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.44191,"provenance":"source"},"cwes":[{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-mj6m-246h-9w56","tags":[]},{"url":"https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic","tags":[]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.84},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"mautic","affectedVersions":[{"vendor":"Mautic","product":"Mautic","versions":["< 3.3.5","< 4.2.0"]}],"solutions":{"items":["Upgrade to 3.3.5 or 4.2.0. If you're using Mautic in a sub-folder with Apache (e.g. example.com/mautic), please review the guidance in this GitHub issue https://github.com/mautic/mautic/issues/10913#issuecomment-1055681986  before updating, as you will probably need to make some changes to the .htaccess file after you update."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-18T18:10:59.918348Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mautic/core","vulnerableRanges":["<3.3.5",">=4.0.0, <4.2.0"],"patched":["3.3.5","4.2.0"],"from":["GHSA-mj6m-246h-9w56"],"provenance":"source"}],"summary":{"text":"The flaw is in the default .htaccess file shipped with Mautic, where a regular expression in the second FilesMatch rule checks only the filename rather than the full path, so the intended restriction on PHP file execution in the application root is not enforced correctly. An attacker who can reach the application with local access and high-privilege authentication, and who can cause the server to process PHP files, could affect integrity and availability of the system, with the scope changing beyond the vulnerable component and no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:30Z"},"euvd":{"id":"EUVD-2022-1482","exploited":false,"provenance":"source"}}