Description (CNA)
Contao is an Open Source CMS. From version 5.7.0 until 5.7.12, TableAccessVoter::hasAccessToModule() in core-bundle/src/Security/Voter/DataContainer/TableAccessVoter.php caches authorization decisions using only $tokenHash, a hash of the user's security token, and omits the table returned by getDataSource(). If one request first checks a table allowed to the user and then a different denied table, the voter can reuse the allowed result, while DefaultDataContainerVoter can convert an incorrect abstention into a grant. A low-privileged backend user can consequently read, create, update, or delete records in tables outside assigned module permissions, including tables containing member or newsletter-subscriber data. This issue is fixed in version 5.7.12.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| contao / contao | affected >= 5.7.0, < 5.7.12 |
CWE
CWE-524, CWE-863
References
- https://github.com/contao/contao/security/advisories/GHSA-5974-gfqc-wrcm
- https://github.com/contao/contao/commit/9d6f582a4cc6a758ce11d1043fc9c0ba62c5f4c9
- https://github.com/contao/contao/releases/tag/5.7.12
ADP enrichment
No English description supplied.
No references supplied.