CVE-2021-37627: Privilege escalation via form generator

Published Aug 11, 2021
·
Updated

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.

Other sources

Contao is an open source CMS that allows creation of websites and scalable web applications. In affected versions it is possible to gain privileged rights in the Contao back end. Installations are only affected if they have untrusted back end users who have access to the form generator. All users are advised to update to Contao 4.4.56, 4.9.18 or 4.11.7. As a workaround users may disable the form generator or disable the login for untrusted back end users.

Privilege escalation with the form generator

Affected Software

20 affected componentsFixes available
composer/contao/contao>=4.0.0, <4.4.56, >=4.5.0, <4.6.0, >=4.6.0, <4.7.0, >=4.7.0, <4.8.0, >=4.8.0, <4.9.0, >=4.9.0, <4.9.18, >=4.10.0, <4.11.0, >=4.11.0, <4.11.7
composer/contao/core-bundle>=4.0.0, <4.4.56, >=4.5.0, <4.6.0, >=4.6.0, <4.7.0, >=4.7.0, <4.8.0, >=4.8.0, <4.9.0, >=4.9.0, <4.9.18, >=4.10.0, <4.11.0, >=4.11.0, <4.11.7
composer/contao/contao>=4.10.0<4.11.7
4.11.7
composer/contao/contao>=4.5.0<4.9.18
4.9.18
composer/contao/contao>=4.0.0<4.4.56
4.4.56
composer/contao/core-bundle>=4.10.0<4.11.7
4.11.7
composer/contao/core-bundle>=4.5.0<4.9.18
4.9.18
composer/contao/core-bundle>=4.0.0<4.4.56
4.4.56
Contao Contao>=4.4.0<4.4.56
Contao Contao>=4.9.0<4.9.18
Contao Contao>=4.11.0<4.11.7
Contao Contao=4.0.0
Contao Contao=4.1.0
Contao Contao=4.2.0
Contao Contao=4.3.0
Contao Contao=4.5.0
Contao Contao=4.6.0
Contao Contao=4.7.0
Contao Contao=4.8.0
Contao Contao=4.10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/contao/contao to a version that resolves this vulnerability.

    Fixed in 4.11.7
  2. Upgrade

    Upgrade composer/contao/contao to a version that resolves this vulnerability.

    Fixed in 4.9.18
  3. Upgrade

    Upgrade composer/contao/contao to a version that resolves this vulnerability.

    Fixed in 4.4.56
  4. Upgrade

    Upgrade composer/contao/core-bundle to a version that resolves this vulnerability.

    Fixed in 4.11.7
  5. Upgrade

    Upgrade composer/contao/core-bundle to a version that resolves this vulnerability.

    Fixed in 4.9.18
  6. Upgrade

    Upgrade composer/contao/core-bundle to a version that resolves this vulnerability.

    Fixed in 4.4.56
  7. Upgrade

    Upgrade contao/contao to a version that resolves this vulnerability.

    Fixed in 4.4.56
  8. Upgrade

    Upgrade contao/contao to a version that resolves this vulnerability.

    Fixed in 4.9.18
  9. Upgrade

    Upgrade contao/contao to a version that resolves this vulnerability.

    Fixed in 4.11.7
  10. Configuration

    As a workaround, disable the form generator to prevent untrusted back end users from gaining privileged/administrator rights.

    Contao form generator form generator = disabled
  11. Configuration

    As a workaround, disable login for untrusted back end users so they cannot access the form generator.

    Contao back end login for untrusted users login for untrusted back end users = disabled

Event History

Aug 11, 2021
Advisory Published
10:32 AM
CVE Published
via MITRE·10:50 PM
Data Sourced
via MITRE·10:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-37627?

CVE-2021-37627 is a vulnerability in Contao CMS that allows for privilege escalation in the Contao back end through the form generator.

2

How does CVE-2021-37627 affect Contao CMS?

CVE-2021-37627 affects Contao CMS installations if they have untrusted back end users who have access to the form generator.

3

What is the severity of CVE-2021-37627?

CVE-2021-37627 has a severity rating of 7.2 (high).

4

How can I fix CVE-2021-37627?

To fix CVE-2021-37627, you should update Contao CMS to a version beyond the affected range.

5

Where can I find more information about CVE-2021-37627?

More information about CVE-2021-37627 can be found at the following links: [Contao Security Advisories](https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator.html) and [GitHub Security Advisory](https://github.com/contao/contao/security/advisories/GHSA-hq5m-mqmx-fw6m).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203