CVE-2021-37626
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.3% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.3% · EPSS, next 30 days
- Weakness
- CWE-94 · Code injection
- Record status
- Modified
Affected
- Contao < 4.4.56
- Contao < 4.9.18
- Contao < 4.11.7
- Contao 4.0.0
- Contao 4.1.0
- Contao 4.2.0
- Contao 4.3.0
- Contao 4.5.0
Attack profile CVSS 3.1 · 7.2
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-37626.md and follow it. Check whether this project is affected by CVE-2021-37626. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html
- https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr
- https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html
- https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr
References
- https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html
- https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr
- https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html
- https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr