VDB
Sign up
HIGH8.3

GHSA-vm6r-j788-hjh5

Contao affected by remote command execution through file upload

Quick fix

GHSA-vm6r-j788-hjh5 — 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 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](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: 4.0.0Fixed in: 4.13.49
Fixcomposer require contao/core-bundle:^4.13.49
Packagist/contao/core-bundle
Introduced in: 5.0.0Fixed in: 5.3.15
Fixcomposer require contao/core-bundle:^5.3.15
Packagist/contao/core-bundle
Introduced in: 5.4.0Fixed in: 5.4.3
Fixcomposer require contao/core-bundle:^5.4.3

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