VDB
Sign up
MEDIUM4.3

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.49

Details

### 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

Packagist/contao/core-bundle
Introduced in: 0Fixed in: 4.13.49
Fixcomposer require contao/core-bundle:^4.13.49

References

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"]}'