cve-2021-37626
Vulnerability from cvelistv5
Published
2021-08-11 22:20
Modified
2024-08-04 01:23
Summary
PHP file inclusion via insert tags
Impacted products
contaocontao
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T01:23:01.250Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "contao",
          "vendor": "contao",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 4.0.0, \u003c 4.4.56"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.5.0, \u003c 4.9.18"
            },
            {
              "status": "affected",
              "version": "\u003e= 4.10.0, \u003c 4.11.7"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.2,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-94",
              "description": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-08-11T22:20:10",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html"
        }
      ],
      "source": {
        "advisory": "GHSA-r6mv-ppjc-4hgr",
        "discovery": "UNKNOWN"
      },
      "title": "PHP file inclusion via insert tags",
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2021-37626",
          "STATE": "PUBLIC",
          "TITLE": "PHP file inclusion via insert tags"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "contao",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "\u003e= 4.0.0, \u003c 4.4.56"
                          },
                          {
                            "version_value": "\u003e= 4.5.0, \u003c 4.9.18"
                          },
                          {
                            "version_value": "\u003e= 4.10.0, \u003c 4.11.7"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "contao"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users."
            }
          ]
        },
        "impact": {
          "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.2,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          }
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr",
              "refsource": "CONFIRM",
              "url": "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr"
            },
            {
              "name": "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html",
              "refsource": "MISC",
              "url": "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html"
            }
          ]
        },
        "source": {
          "advisory": "GHSA-r6mv-ppjc-4hgr",
          "discovery": "UNKNOWN"
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2021-37626",
    "datePublished": "2021-08-11T22:20:10",
    "dateReserved": "2021-07-29T00:00:00",
    "dateUpdated": "2024-08-04T01:23:01.250Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-37626\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2021-08-11T23:15:07.750\",\"lastModified\":\"2021-08-20T18:37:54.603\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users.\"},{\"lang\":\"es\",\"value\":\"Contao es un CMS de c\u00f3digo abierto que permite crear sitios y aplicaciones web escalables. En las versiones afectadas es posible cargar archivos PHP introduciendo etiquetas de inserci\u00f3n en el back-end de Contao. Las instalaciones s\u00f3lo est\u00e1n afectadas si presentan usuarios de back end no confiables que tengan derechos para modificar los campos que se muestran en el front end. Actualice a Contao versiones 4.4.56, 4.9.18 o 4.11.7 para resolverlo. Si no puede actualizar, desactive el inicio de sesi\u00f3n para usuarios de back end no confiables\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\",\"baseScore\":7.2,\"baseSeverity\":\"HIGH\"},\"exploitabilityScore\":1.2,\"impactScore\":5.9},{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\",\"baseScore\":7.2,\"baseSeverity\":\"HIGH\"},\"exploitabilityScore\":1.2,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:S/C:P/I:P/A:P\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"SINGLE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\",\"baseScore\":6.5},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-94\"}]},{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-94\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.4.0\",\"versionEndExcluding\":\"4.4.56\",\"matchCriteriaId\":\"B2CE6152-30F2-4712-B4DD-08F091E9ADF9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.9.0\",\"versionEndExcluding\":\"4.9.18\",\"matchCriteriaId\":\"C35F4C67-BA49-46DD-A843-4D2F93B50FA3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.11.0\",\"versionEndExcluding\":\"4.11.7\",\"matchCriteriaId\":\"00F8DCD4-A7B8-4DD9-9A3C-5640D7284FF4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"8EB22924-9904-40AE-AD23-427B01985DE0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.1.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6D89C4A4-3614-4C0E-A1EE-DC3166E635F3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.2.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D19BB4B2-5649-4DF1-8DF8-49609647CD1B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.3.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0F59C41A-1EC4-4B45-8A1F-FBBC90EB6FBF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.5.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5DCF20BC-0B4A-4904-B1C9-FF72C83CB26D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.6.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"134A6E73-9292-4F37-8D0A-088249B773BC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.7.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"97184D33-21EC-4792-B40E-3C0E8972D400\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.8.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"78779300-D33E-4ACF-805F-F49B1D54DFED\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:contao:contao:4.10.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"30EBE2B6-34AC-41E0-ACAA-D3149A9A0BEB\"}]}]}],\"references\":[{\"url\":\"https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • 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.