7.2high
PHP file inclusion via insert tags
- Severity
- 7.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.25% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r6mv-ppjc-4hgr
Description
Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| contao contao | >= 4.0.0, < 4.4.56, >= 4.5.0, < 4.9.18, >= 4.10.0, < 4.11.7, from 4.4.0 before 4.4.56, from 4.9.0 before 4.9.18, from 4.11.0 before 4.11.7, 4.0.0, 4.1.0 and 7 more | CVE List, NVD |
| contao/core-bundle (Packagist) | from 4.0.0 before 4.4.56, from 4.5.0 before 4.9.18, from 4.10.0 before 4.11.7 | GitHub Advisory Database |
| contao/contao (Packagist) | from 4.0.0 before 4.4.56, from 4.5.0 before 4.9.18, from 4.10.0 before 4.11.7 | GitHub Advisory Database |
All scores
| GitHub_M | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 6.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users.
GitHub Advisory Database
Impact
It is possible for untrusted users to load arbitrary PHP files via insert tags.
Installations are only affected if there are untrusted back end users.
Patches
Update to Contao 4.4.56, 4.9.18 or 4.11.7.
Workarounds
Disable the login for untrusted back end users.
References
https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
NVD (es)
Contao es un CMS de código abierto que permite crear sitios y aplicaciones web escalables. En las versiones afectadas es posible cargar archivos PHP introduciendo etiquetas de inserción en el back-end de Contao. Las instalaciones sólo están afectadas si presentan usuarios de back end no confiables que tengan derechos para modificar los campos que se muestran en el front end. Actualice a Contao versiones 4.4.56, 4.9.18 o 4.11.7 para resolverlo. Si no puede actualizar, desactive el inicio de sesión para usuarios de back end no confiables
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-37626 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r6mv-ppjc-4hgr changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-37626 changed 2026-06-17 | Public domain |