CVE-2022-25769 (GCVE-0-2022-25769)
Vulnerability from cvelistv5
Published
2024-09-18 14:47
Modified
2024-09-18 21:28
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.
Impacted products
Vendor Product Version
Mautic Mautic Version: < 3.3.5   
Version: < 4.2.0   
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            affected: [
               {
                  cpes: [
                     "cpe:2.3:a:mautic:mautic:-:*:*:*:*:*:*:*",
                  ],
                  defaultStatus: "unknown",
                  product: "mautic",
                  vendor: "mautic",
                  versions: [
                     {
                        lessThan: "3.3.5",
                        status: "affected",
                        version: "0",
                        versionType: "custom",
                     },
                     {
                        lessThan: "4.2.0",
                        status: "affected",
                        version: "0",
                        versionType: "custom",
                     },
                  ],
               },
            ],
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2022-25769",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "total",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-09-18T18:10:59.918348Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-09-18T18:12:16.003Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               collectionURL: "https://packagist.org",
               defaultStatus: "unaffected",
               packageName: "mautic/core",
               product: "Mautic",
               repo: "https://github.com/mautic/mautic",
               vendor: "Mautic",
               versions: [
                  {
                     status: "affected",
                     version: "< 3.3.5",
                     versionType: "semver",
                  },
                  {
                     status: "affected",
                     version: "< 4.2.0",
                     versionType: "semver",
                  },
               ],
            },
         ],
         credits: [
            {
               lang: "en",
               type: "finder",
               value: "Mattias Michaux",
            },
            {
               lang: "en",
               type: "remediation developer",
               value: "Mattias Michaux",
            },
            {
               lang: "en",
               type: "remediation reviewer",
               value: "John Linhart",
            },
            {
               lang: "en",
               type: "remediation reviewer",
               value: "Zdeno Kuzmany",
            },
         ],
         datePublic: "2022-03-02T14:47:00.000Z",
         descriptions: [
            {
               lang: "en",
               supportingMedia: [
                  {
                     base64: false,
                     type: "text/html",
                     value: "<h2>Impact</h2>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.<br><br>This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.",
                  },
               ],
               value: "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.",
            },
         ],
         metrics: [
            {
               cvssV3_1: {
                  attackComplexity: "HIGH",
                  attackVector: "LOCAL",
                  availabilityImpact: "HIGH",
                  baseScore: 7.2,
                  baseSeverity: "HIGH",
                  confidentialityImpact: "NONE",
                  integrityImpact: "HIGH",
                  privilegesRequired: "HIGH",
                  scope: "CHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H",
                  version: "3.1",
               },
               format: "CVSS",
               scenarios: [
                  {
                     lang: "en",
                     value: "GENERAL",
                  },
               ],
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-1284",
                     description: "CWE-1284 Improper Validation of Specified Quantity in Input",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-09-18T21:28:12.305Z",
            orgId: "4e531c38-7a33-45d3-98dd-d909c0d8852e",
            shortName: "Mautic",
         },
         references: [
            {
               url: "https://github.com/mautic/mautic/security/advisories/GHSA-mj6m-246h-9w56",
            },
            {
               url: "https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic",
            },
         ],
         solutions: [
            {
               lang: "en",
               supportingMedia: [
                  {
                     base64: false,
                     type: "text/html",
                     value: "Upgrade to 3.3.5 or 4.2.0. <br><br>If you're using Mautic in a sub-folder with Apache <span style=\"background-color: rgb(255, 255, 255);\">(e.g. example.com/mautic)</span>, <span style=\"background-color: rgb(255, 255, 255);\">please review the guidance in </span><a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/mautic/mautic/issues/10913#issuecomment-1055681986\">this GitHub issue</a><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;before updating, as you will probably need to make some changes to the .htaccess file after you update.</span><br>",
                  },
               ],
               value: "Upgrade to 3.3.5 or 4.2.0. \n\nIf 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.",
            },
         ],
         source: {
            advisory: "GHSA-mj6m-246h-9w56",
            discovery: "UNKNOWN",
         },
         title: "Improper regex in htaccess file",
         x_generator: {
            engine: "Vulnogram 0.2.0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "4e531c38-7a33-45d3-98dd-d909c0d8852e",
      assignerShortName: "Mautic",
      cveId: "CVE-2022-25769",
      datePublished: "2024-09-18T14:47:09.029Z",
      dateReserved: "2022-02-22T20:17:36.804Z",
      dateUpdated: "2024-09-18T21:28:12.305Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      fkie_nvd: {
         descriptions: "[{\"lang\": \"en\", \"value\": \"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.\"}, {\"lang\": \"es\", \"value\": \"ImpactoEl archivo .htaccess predeterminado tiene algunas restricciones en el acceso a los archivos PHP para permitir que solo se ejecuten archivos PHP espec\\u00edficos en la ra\\u00edz de la aplicaci\\u00f3n. Esta l\\u00f3gica no es correcta, ya que la expresi\\u00f3n regular en el segundo FilesMatch solo verifica el nombre del archivo, no la ruta completa.\"}]",
         id: "CVE-2022-25769",
         lastModified: "2024-09-20T12:30:17.483",
         metrics: "{\"cvssMetricV31\": [{\"source\": \"security@mautic.org\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H\", \"baseScore\": 7.2, \"baseSeverity\": \"HIGH\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"userInteraction\": \"NONE\", \"scope\": \"CHANGED\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 0.8, \"impactScore\": 5.8}]}",
         published: "2024-09-18T15:15:13.060",
         references: "[{\"url\": \"https://github.com/mautic/mautic/security/advisories/GHSA-mj6m-246h-9w56\", \"source\": \"security@mautic.org\"}, {\"url\": \"https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic\", \"source\": \"security@mautic.org\"}]",
         sourceIdentifier: "security@mautic.org",
         vulnStatus: "Awaiting Analysis",
         weaknesses: "[{\"source\": \"security@mautic.org\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-1284\"}]}]",
      },
      nvd: "{\"cve\":{\"id\":\"CVE-2022-25769\",\"sourceIdentifier\":\"security@mautic.org\",\"published\":\"2024-09-18T15:15:13.060\",\"lastModified\":\"2024-09-20T12:30:17.483\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"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.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@mautic.org\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H\",\"baseScore\":7.2,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":0.8,\"impactScore\":5.8}]},\"weaknesses\":[{\"source\":\"security@mautic.org\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-1284\"}]}],\"references\":[{\"url\":\"https://github.com/mautic/mautic/security/advisories/GHSA-mj6m-246h-9w56\",\"source\":\"security@mautic.org\"},{\"url\":\"https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic\",\"source\":\"security@mautic.org\"}]}}",
      vulnrichment: {
         containers: "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-25769\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-18T18:10:59.918348Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:mautic:mautic:-:*:*:*:*:*:*:*\"], \"vendor\": \"mautic\", \"product\": \"mautic\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"3.3.5\", \"versionType\": \"custom\"}, {\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"4.2.0\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-18T18:12:08.784Z\"}}], \"cna\": {\"title\": \"Improper regex in htaccess file\", \"source\": {\"advisory\": \"GHSA-mj6m-246h-9w56\", \"discovery\": \"UNKNOWN\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Mattias Michaux\"}, {\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Mattias Michaux\"}, {\"lang\": \"en\", \"type\": \"remediation reviewer\", \"value\": \"John Linhart\"}, {\"lang\": \"en\", \"type\": \"remediation reviewer\", \"value\": \"Zdeno Kuzmany\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 7.2, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"NONE\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/mautic/mautic\", \"vendor\": \"Mautic\", \"product\": \"Mautic\", \"versions\": [{\"status\": \"affected\", \"version\": \"< 3.3.5\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"< 4.2.0\", \"versionType\": \"semver\"}], \"packageName\": \"mautic/core\", \"collectionURL\": \"https://packagist.org\", \"defaultStatus\": \"unaffected\"}], \"solutions\": [{\"lang\": \"en\", \"value\": \"Upgrade to 3.3.5 or 4.2.0. \\n\\nIf 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 \\u00a0before updating, as you will probably need to make some changes to the .htaccess file after you update.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"Upgrade to 3.3.5 or 4.2.0. <br><br>If you're using Mautic in a sub-folder with Apache <span style=\\\"background-color: rgb(255, 255, 255);\\\">(e.g. example.com/mautic)</span>, <span style=\\\"background-color: rgb(255, 255, 255);\\\">please review the guidance in </span><a target=\\\"_blank\\\" rel=\\\"nofollow\\\" href=\\\"https://github.com/mautic/mautic/issues/10913#issuecomment-1055681986\\\">this GitHub issue</a><span style=\\\"background-color: rgb(255, 255, 255);\\\">&nbsp;before updating, as you will probably need to make some changes to the .htaccess file after you update.</span><br>\", \"base64\": false}]}], \"datePublic\": \"2022-03-02T14:47:00.000Z\", \"references\": [{\"url\": \"https://github.com/mautic/mautic/security/advisories/GHSA-mj6m-246h-9w56\"}, {\"url\": \"https://www.mautic.org/blog/community/mautic-4-2-one-small-step-mautic\"}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"<h2>Impact</h2>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.<br><br>This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the full path.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-1284\", \"description\": \"CWE-1284 Improper Validation of Specified Quantity in Input\"}]}], \"providerMetadata\": {\"orgId\": \"4e531c38-7a33-45d3-98dd-d909c0d8852e\", \"shortName\": \"Mautic\", \"dateUpdated\": \"2024-09-18T21:28:12.305Z\"}}}",
         cveMetadata: "{\"cveId\": \"CVE-2022-25769\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-09-18T21:28:12.305Z\", \"dateReserved\": \"2022-02-22T20:17:36.804Z\", \"assignerOrgId\": \"4e531c38-7a33-45d3-98dd-d909c0d8852e\", \"datePublished\": \"2024-09-18T14:47:09.029Z\", \"assignerShortName\": \"Mautic\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.