GitHub Advisoryadvisory · Packagist
GHSA-vm6r-j788-hjh5 Contao affected by remote command execution through file upload
HIGH
Official page ↗
- Aliases
- CVE-2024-45398
- Ecosystem
- Packagist
- Packages
- contao/core-bundle
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- Weaknesses
- CWE-434
- Reviewed
- 2024-09-17
Affected packages
• Packagist contao/core-bundle: >= 4.0.0, < 4.13.49 → fixed in 4.13.49
• Packagist contao/core-bundle: >= 5.0.0, < 5.3.15 → fixed in 5.3.15
• Packagist contao/core-bundle: >= 5.4.0, < 5.4.3 → fixed in 5.4.3
Description
Impact
Back end users with access to the file manager can upload malicious files and execute them on the server.
Patches
Update to Contao 4.13.49, 5.3.15 or 5.4.3.
Workarounds
Configure your web server so it does not execute PHP files and other scripts in the Contao file upload directory.
References
https://contao.org/en/security-advisories/remote-command-execution-through-file-uploads
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
Credits
Thanks to Jakob Steeg from usd AG for reporting this vulnerability.
Related
Alias · CVE (1)
- CVE-2024-45398 Contao is an Open Source CMS. vulnerability
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness
References
- https://github.com/contao/contao/security/advisories/GHSA-vm6r-j788-hjh5 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://contao.org/en/security-advisories/remote-command-execution-through-file-uploads web
- https://github.com/contao/contao package