VDB
Sign up
MEDIUM4.3

GHSA-7m47-r75r-cx8v

Contao applies improper access control in the back end voters

Quick fix

GHSA-7m47-r75r-cx8v — contao/core-bundle: upgrade to the fixed version with the command below.

composer require contao/core-bundle:^5.3.38

Details

### Impact

The table access voter in the back end doesn't check if a user is allowed to access the corresponding module.

### Patches

Update to Contao 5.3.38 or 5.6.1.

### Workarounds

Do not rely solely on the voter and additionally check `USER_CAN_ACCESS_MODULE`.

### 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: 5.0.0Fixed in: 5.3.38
Fixcomposer require contao/core-bundle:^5.3.38
Packagist/contao/core-bundle
Introduced in: 5.4.0-RC1Fixed in: 5.6.1
Fixcomposer require contao/core-bundle:^5.6.1
Packagist/contao/contao
Introduced in: 5.0.0Fixed in: 5.3.38
Fixcomposer require contao/contao:^5.3.38
Packagist/contao/contao
Introduced in: 5.4.0-RC1Fixed in: 5.6.1
Fixcomposer require contao/contao:^5.6.1

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