High
Improper regex in htaccess file
Type: advisorySources: OSV
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. This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-25769
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 05:37 UTC · Revision 1
Source evidence
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. This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.
osv:CVE-2022-25769
Complete source record
{
"id": "b2e378ebcf8efdd1365353c4207e1fe58d9cad71ac612c73ba56d22b4fe863d7",
"url": "https://osv.dev/vulnerability/CVE-2022-25769",
"method": "structured",
"payload": {
"kind": "advisory",
"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. This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.",
"evidence": "osv:CVE-2022-25769",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-25769",
"aliases": [
"CVE-2022-25769",
"GHSA-mj6m-246h-9w56"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mautic/mautic",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6b64469b6e1048aee3acb05479bc53c32346933c"
},
{
"introduced": "0abd6b79738f7cf096b435d8f87ea998617e17c1"
},
{
"fixed": "cd19c594208c327b995ac7050f95720d830c3ddd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.3.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.2.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"4.0.0",
"4.1.0",
"3.3.3",
"3.3.3-rc",
"3.3.2",
"3.3.2-rc",
"3.3.0-rc",
"3.1.0",
"3.1.0-rc",
"3.0.1",
"2.14.2-beta",
"2.12.2-beta",
"2.8.0",
"2.7.1",
"2.7.0",
"2.6.1",
"2.6.0",
"2.5.1",
"2.5.0",
"2.4.0",
"2.3.0",
"2.2.1",
"2.2.0",
"2.1.1",
"2.1.0",
"2.0.1",
"2.0.0",
"1.4.1",
"1.4.0",
"1.3.1",
"1.3.0",
"1.2.4",
"1.2.3",
"1.2.2",
"1.2.1",
"1.2.0",
"1.1.3",
"1.1.2",
"1.1.1",
"1.1.0",
"1.0.5",
"1.0.4",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0.0",
"1.0.0-rc4",
"1.0.0-rc3",
"1.0.0-rc2",
"1.0.0-rc1",
"1.0.0-beta4",
"1.0.0-beta3",
"1.0.0-beta2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25769.json"
}
}
],
"modified": "2026-10-28T02:30:43.017127667Z",
"provider": "osv",
"references": [
"https://packagist.org",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25769.json",
"https://github.com/mautic/mautic/security/advisories/GHSA-mj6m-246h-9w56",
"https://nvd.nist.gov/vuln/detail/CVE-2022-25769",
"https://github.com/mautic/mautic",
"https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1284"
],
"cna_assigner": "Mautic",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25769.json"
}
},
"related_cves": [
{
"value": "CVE-2022-25769",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510756,
"published_at": "2024-09-18T14:47:09.029+00:00"
}