Skip to content
Heist/ feed
Back to feed
High

Remote command execution through file upload in contao/core-bundle

Type: advisorySources: OSV

Contao is an Open Source CMS. In affected versions a back end user with access to the file manager can upload malicious files and execute them on the server. Users are advised to update to Contao 4.13.49, 5.3.15 or 5.4.3. Users unable to update are advised to configure their web server so it does not execute PHP files and other scripts in the Contao file upload directory.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-45398
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 01:21 UTC · Revision 1

Source evidence

Remote command execution through file upload in contao/core-bundle

core-osv · Original source

Published 17 Sept 2024, 19:56 UTC

Contao is an Open Source CMS. In affected versions a back end user with access to the file manager can upload malicious files and execute them on the server. Users are advised to update to Contao 4.13.49, 5.3.15 or 5.4.3. Users unable to update are advised to configure their web server so it does not execute PHP files and other scripts in the Contao file upload directory.

osv:CVE-2024-45398
Complete source record
{
  "id": "fac302cec0df1f5eea2d5804c5b16e51e83f1d9e4d97473ca76b50cceeba3624",
  "url": "https://osv.dev/vulnerability/CVE-2024-45398",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Remote command execution through file upload in contao/core-bundle",
    "summary": "Contao is an Open Source CMS. In affected versions a back end user with access to the file manager can upload malicious files and execute them on the server. Users are advised to update to Contao 4.13.49, 5.3.15 or 5.4.3. Users unable to update are advised to configure their web server so it does not execute PHP files and other scripts in the Contao file upload directory.",
    "evidence": "osv:CVE-2024-45398",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-45398",
      "aliases": [
        "CVE-2024-45398",
        "GHSA-vm6r-j788-hjh5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/contao/contao",
              "type": "GIT",
              "events": [
                {
                  "introduced": "84b2fe637d5ead531f117f26b48d1b9de8df4074"
                },
                {
                  "fixed": "e630d0fc90a29b83173d1b2265459becb6d6e27d"
                },
                {
                  "introduced": "8cb541c59cb07ecb62fc5c5685c6448f38b97ad8"
                },
                {
                  "fixed": "b5f042bae13b9764b6da707b079dc4c66c00a1c4"
                },
                {
                  "introduced": "3173ec39227e5454439be24f7169bad5e0eb69f8"
                },
                {
                  "fixed": "65e8d69cabec1b7f9c19e2049365155ddfce8183"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.13.49"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "fixed": "5.3.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.4.0"
                      },
                      {
                        "fixed": "5.4.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.4.2",
            "5.4.1",
            "5.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45398.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.688475893Z",
      "provider": "osv",
      "references": [
        "https://contao.org/en/security-advisories/remote-command-execution-through-file-uploads",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45398.json",
        "https://github.com/contao/contao/security/advisories/GHSA-vm6r-j788-hjh5",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-45398"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-434"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45398.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-45398",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499428,
  "published_at": "2024-09-17T19:56:00.791+00:00"
}