VDB
Sign up
MEDIUM6.5

GHSA-23w9-4pg3-xwm3

contao/core-bundle: Improper access control in the CSV import wizard

Quick fix

GHSA-23w9-4pg3-xwm3 — contao/core-bundle: upgrade to the fixed version with the command below.

composer require contao/core-bundle:^5.3.50

Details

Custom backend module "key" actions are dispatched in `Backend::getBackendModule()` (Backend.php:322-327) after only the module-level `USER_CAN_ACCESS_MODULE` check - no per-record voter runs.

## Impact

A non-admin editor scoped to certain pages/forms can overwrite the tableitems/listitems/options of arbitrary tl_content / tl_form_field records outside their scope, defeating the per-record access control. Integrity IDOR (blind content overwrite; the value written is `serialize()` of a plain string array from the CSV - not object injection).

## Credits

This security vulnerability was found by @HDWSec

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.50
Fixcomposer require contao/core-bundle:^5.3.50
Packagist/contao/core-bundle
Introduced in: 5.4.0-RC1Fixed in: 5.7.12
Fixcomposer require contao/core-bundle:^5.7.12

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