CVE-2026-107848: 
PHP Analyse et atténuation des vulnérabilités

Aperçu

CVE-2026-107848 is a Cross-Site Request Forgery (CSRF) vulnerability in Contao, an open-source CMS, affecting the backend action dispatch mechanism. The flaw exists in versions >= 4.0.0 and < 5.3.50, and >= 5.4.0-RC1 and < 5.7.12 of the contao/core-bundle Composer package. It was originally published on August 25, 2026, and added to the GitHub Advisory Database on October 9, 2026. The vulnerability carries a CVSS v3.1 base score of 3.5 (Low) (Github Advisory).

Détails techniques

The root cause (CWE-352) lies in Contao's RequestTokenListener, which only validates the REQUEST_TOKEN on POST requests. The declarative GET-side CSRF guard only activates when an act parameter is present in the request. Backend actions dispatched via the key parameter — a separate dispatch mechanism — therefore bypass CSRF validation entirely on GET requests. An attacker can craft a malicious URL that, when loaded by an authenticated backend user, triggers state-changing backend actions (e.g., resending opt-in tokens, toggling debug mode) without any CSRF token. The fix, applied in commit 34dd27e, adds explicit CSRF token validation for key= actions, including checking the rt parameter and enforcing POST methods where appropriate (Github Advisory, Patch Commit).

Impact

Successful exploitation allows an attacker to perform destructive or state-changing backend operations on behalf of an authenticated Contao backend user without their knowledge or consent. The scope of reachable actions is bounded by the victim user's backend permissions — no privilege escalation has been identified. There is no confidentiality impact; the primary risk is unauthorized integrity modification of CMS backend state, such as triggering opt-in token resends or toggling debug mode (Github Advisory).

Exploitabilité

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Github Advisory). The EPSS score is 0.0, reflecting a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires social engineering an authenticated backend user into loading an attacker-controlled URL, which limits practical exploitability.

Étapes d’exploitation

  1. Identify target: Confirm the target Contao instance is running a vulnerable version (>= 4.0.0, < 5.3.50 or >= 5.4.0-RC1, < 5.7.12) and identify a backend user with access to the desired module (e.g., opt-in management or debug toggle).
  2. Identify vulnerable key= action: Enumerate available backend actions dispatched via the key parameter (e.g., ?do=opt_in&key=resend or ?do=debug&key=enable) that perform state-changing operations.
  3. Craft malicious URL: Construct a GET request URL targeting the Contao backend with the desired key= parameter and any required record identifiers (e.g., https://target.example.com/contao?do=opt_in&key=resend&id=123). No CSRF token (rt) is required due to the missing validation.
  4. Deliver URL to victim: Lure an authenticated backend user into loading the crafted URL via phishing, a malicious link, or an embedded resource (e.g., <img src="..."> in an email or webpage).
  5. Action executes: The backend action fires in the context of the authenticated user's session, performing the state-changing operation without any token validation or user confirmation (Github Advisory).

Indicateurs de compromis

  • Logs: Contao backend access logs showing GET requests to backend URLs containing key= parameters (e.g., ?do=opt_in&key=resend, ?do=debug&key=enable) originating from unexpected IP addresses or referrers not matching the Contao backend domain.
  • Network: HTTP GET requests to the Contao backend with key= parameters and no rt (CSRF token) query parameter, especially from external or unfamiliar referrer origins.
  • Application Behavior: Unexpected state changes in the Contao backend, such as opt-in tokens being resent without user-initiated action, or debug mode being toggled unexpectedly.

Atténuation et solutions de contournement

Contao has released patched versions 5.3.50 and 5.7.12 that add explicit CSRF token validation for all key= backend actions. Administrators should upgrade to these versions or later immediately. As a defense-in-depth measure, consider implementing SameSite=Strict or SameSite=Lax cookie attributes to reduce CSRF risk, and restrict backend user permissions to the minimum necessary. Monitor backend activity logs for unexpected state-changing actions as an interim detection measure (Github Advisory, Patch Commit, Release 5.7.12).

Réactions de la communauté

The vulnerability was reported by HDWSec and published by Contao maintainer leofeyer on August 25, 2026. No significant broader media coverage or notable community commentary beyond the official advisory has been identified at this time (Github Advisory).

Ressources additionnelles


Source: Ce rapport a été généré à l’aide de l’IA

Apparenté PHP Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-107845CRITICAL9.3
  • PHP logoPHP
  • contao/comments-bundle
NonOuiOct 09, 2026
CVE-2026-107844MEDIUM5.3
  • PHP logoPHP
  • contao/core-bundle
NonOuiOct 09, 2026
CVE-2026-107851MEDIUM4.3
  • PHP logoPHP
  • contao/core-bundle
NonOuiOct 09, 2026
CVE-2026-107850MEDIUM4.3
  • PHP logoPHP
  • contao/core-bundle
NonOuiOct 09, 2026
CVE-2026-107848LOW3.5
  • PHP logoPHP
  • contao/core-bundle
NonOuiOct 09, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités