1. Accueil
  2. Vulnérabilités
  3. CVE-2026-134790

CVE-2026-134790

Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set: Incomplete Fix for CVE-2017-16652

Publiée le 25 nov. 2026 · modifiée le 30 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 37/100

Résumé

The fix for CVE-2017-16652 restricts the redirects of HttpUtils::createRedirectResponse() to the host of the request. When framework.session.cookie_domain is set, it also allows the subdomains of that domain. To check a target, it read the host of the URL up to the first "/". But browsers also end the host at "\", "?" and "#". So with the cookie domain .example.com, a target like https://evil.test?.example.com passed the check, and the browser went to evil.test. Applications are exposed when framework.session.cookie_domain is set. The default success and failure handlers of form_login redirect to the _target_path or _failure_path of the request. A login link can then send the user to another site right after a successful login, for example to ask for the password again. HttpUtils now ends the host of a target where browsers do, before checking it against the allowed domains.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Symfony (8 ligne(s))
Symfony
ProduitVersionsCorrigé dansSource
symfony/security-http avant 5.4.57 (exclu) — CNA (éditeur ou attributeur)
symfony/security-http de 6.0.0 (inclus) à 6.4.51 (exclu) — CNA (éditeur ou attributeur)
symfony/security-http de 7.0.0 (inclus) à 7.4.24 (exclu) — CNA (éditeur ou attributeur)
symfony/security-http de 8.0.0 (inclus) à 8.1.12 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony avant 5.4.57 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 6.0.0 (inclus) à 6.4.51 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 7.0.0 (inclus) à 7.4.24 (exclu) — CNA (éditeur ou attributeur)
symfony/symfony de 8.0.0 (inclus) à 8.1.12 (exclu) — CNA (éditeur ou attributeur)

Correctif

Mise à jour — 5.4.57, 6.4.51, 7.4.24, 8.1.12source officielle

Source : CERT-FR · Ouvrir

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1619)
  2. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N (CVSS 4.0, CNA:Symfony)
Faiblesse
CWE-601 · Autre (CWE-601)

Comment sont obtenues et calculées ces données