GHSA-hq5m-mqmx-fw6m
Privilege escalation via form generator
Quick fix
GHSA-hq5m-mqmx-fw6m — contao/core-bundle: upgrade to the fixed version with the command below.
composer require contao/core-bundle:^4.4.56Details
### Impact
It is possible for untrusted users to gain administrator rights with the form generator.
Installations are only affected if there are untrusted back end users with access to the form generator.
### Patches
Update to Contao 4.4.56, 4.9.18 or 4.11.7.
### Workarounds
Disable the form generator or disable the login for untrusted back end users.
### References
https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator
### 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
4.0.0Fixed in: 4.4.56composer require contao/core-bundle:^4.4.564.5.0Fixed in: 4.9.18composer require contao/core-bundle:^4.9.184.10.0Fixed in: 4.11.7composer require contao/core-bundle:^4.11.74.0.0Fixed in: 4.4.56composer require contao/contao:^4.4.564.5.0Fixed in: 4.9.18composer require contao/contao:^4.9.184.10.0Fixed in: 4.11.7composer require contao/contao:^4.11.7References
- https://github.com/contao/contao/security/advisories/GHSA-hq5m-mqmx-fw6m[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-37627[ADVISORY]
- https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator.html[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37627.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37627.yaml[WEB]
- https://github.com/contao/contao[PACKAGE]
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"]}'