CVE-2024-45398
HIGH 8.8CVSS 3.1Contao affected by remote command execution through file upload
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.
- Published
- 17 Sep 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-434
- Also known as
- GHSA-vm6r-j788-hjh5
- Sources
- NVDJSONOSV GHSA-vm6r-j788-hjh5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.13.49 | 4.13.49 |
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.3.15 | 5.3.15 |
| NVD | contao | contaocpe:2.3:a:contao:contao:*:*:*:*:*:*:*:* |
>= 5.4.0, < 5.4.3 | 5.4.3 |
| OSV | Packagist | contao/core-bundle | >= 4.0.0, < 4.13.49 | 4.13.49 |
| OSV | Packagist | contao/core-bundle | >= 5.0.0, < 5.3.15 | 5.3.15 |
| OSV | Packagist | contao/core-bundle | >= 5.4.0, < 5.4.3 | 5.4.3 |
References
- https://contao.org/en/security-advisories/remote-command-execution-through-file-uploads · Vendor Advisory, WEB
- https://github.com/contao/contao/security/advisories/GHSA-vm6r-j788-hjh5 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-45398 · ADVISORY
- https://github.com/contao/contao/commit/9445d509f12a7f1b68a4794dcc5e3e459b363ebb · WEB
- https://github.com/contao/contao/commit/a7e39f96ac8fdc281f7caaa96e01deb0e24ac7d3 · WEB
- https://github.com/contao/contao/commit/f3db59ffe5a6c0e1f705b3230ebd5ff16865280e · WEB
- https://github.com/contao/contao · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 17 Sep 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Sep 2024)