- Accueil
- Vulnérabilités
- 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
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1619)
- — Publication de la CVE (cve)
Avis CERT-FR
- CERTFR-2026-AVI-1619 — Multiples vulnérabilités dans Symfony (25 novembre 2026) 25 nov. 2026
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)