GHSA-4p75-5p53-65m9
Contao affected by directory traversal in the file selector widget
Quick fix
GHSA-4p75-5p53-65m9 — contao/core-bundle: upgrade to the fixed version with the command below.
composer require contao/core-bundle:^4.13.49Details
### Impact
Back end users can list files outside their file mounts or the document root in the FileSelector widget.
### Patches
Update to Contao 4.13.49.
### Workarounds
None.
### References
https://contao.org/en/security-advisories/directory-traversal-in-the-fileselector-widget
### For more information
If you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).
### Credits
Thanks to Jakob Steeg from usd AG for reporting this vulnerability.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 4.13.49composer require contao/core-bundle:^4.13.49References
- https://github.com/contao/contao/security/advisories/GHSA-4p75-5p53-65m9[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-45604[ADVISORY]
- https://github.com/contao/contao/commit/63409c6bdfd95197d9906e229d765b630d45742e[WEB]
- https://contao.org/en/security-advisories/directory-traversal-in-the-fileselector-widget[WEB]
- https://github.com/contao/contao[PACKAGE]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/contao/core-bundle"]}'