VDB
Sign up
MEDIUM6.7

GHSA-r6mv-ppjc-4hgr

PHP file inclusion via insert tags

Quick fix

GHSA-r6mv-ppjc-4hgr — contao/core-bundle: upgrade to the fixed version with the command below.

composer require contao/core-bundle:^4.4.56

Details

### Impact

It is possible for untrusted users to load arbitrary PHP files via insert tags.

Installations are only affected if there are untrusted back end users.

### Patches

Update to Contao 4.4.56, 4.9.18 or 4.11.7.

### Workarounds

Disable the login for untrusted back end users.

### References

https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags

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

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.4.56
Fixcomposer require contao/core-bundle:^4.4.56
Packagist/contao/core-bundle
Introduced in: 4.5.0Fixed in: 4.9.18
Fixcomposer require contao/core-bundle:^4.9.18
Packagist/contao/core-bundle
Introduced in: 4.10.0Fixed in: 4.11.7
Fixcomposer require contao/core-bundle:^4.11.7
Packagist/contao/contao
Introduced in: 4.0.0Fixed in: 4.4.56
Fixcomposer require contao/contao:^4.4.56
Packagist/contao/contao
Introduced in: 4.5.0Fixed in: 4.9.18
Fixcomposer require contao/contao:^4.9.18
Packagist/contao/contao
Introduced in: 4.10.0Fixed in: 4.11.7
Fixcomposer require contao/contao:^4.11.7

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