CVE-2025-65960
Contao is vulnerable to remote code execution in template closures
Auswirkung
### Impact Backend users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters. ### Patches Update to Contao 4.13.57, 5.3.42 or 5.6.5 ### Workarounds Manually patch the `Contao\Template::once()` method. ### Resources https://contao.org/en/security-advisories/remote-code-execution-in-template-closures
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem Administratorkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | contao/core-bundle | >= 4.0.0, < 4.13.57 | 4.13.57 |
Betroffene Produkte · Contao
| Produkt | Betroffene Versionen |
|---|---|
| Contao | ab 4.0.0 vor 4.13.57 ab 5.0.0 vor 5.3.42 ab 5.4.0 vor 5.6.5 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://contao.org/en/security-advisories/remote-code-execution-in-template-closures
- https://github.com/contao/contao/security/advisories/GHSA-98vj-mm79-v77r
- https://github.com/advisories/GHSA-98vj-mm79-v77r
- https://github.com/contao/contao/commit/577d7fdd5b1ca84f65f034ff556865422f0a3bd1
- https://github.com/contao/contao/commit/676f0855d39007ac9a0dbe7ae6a7414cba2312a5
- https://github.com/contao/contao/commit/ebf84c90e5679a67060f396b924ce4a3c3f206b3
- https://nvd.nist.gov/vuln/detail/CVE-2025-65960