CVE-2026-118513Sensiolabs Symfony authentication bypass by spoofing
Scor CVSS
7.7
Ridicat
CVSS 4.0 de la 596c5446-0ce5-4ba2-aa66-48b3b757a647
Probabilitate de exploatare (EPSS)
0.27%
Șansă de 0.27% să fie exploatată în următoarele 30 de zile, peste 19.5% dintre toate CVE-urile.
CISA KEV
Nu este în KEV
CISA nu a raportat până acum exploatări confirmate.
Descrierea oficială
Authentication bypass by spoofing in X509Authenticator and X509AuthenticationListener of Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11 allows an attacker holding a certificate from the application's trusted CA who can influence the CN to authenticate as an arbitrary user of the application, including a privileged one, following an incomplete fix for CVE-2026-45063.
X509Authenticator extracts the user identifier from the Subject DN (Distinguished Name) that the web server passes in $_SERVER['SSL_CLIENT_S_DN']. The fix for CVE-2026-45063 anchored that extraction to an RDN (Relative Distinguished Name) boundary, but the regular expression used was not escape-aware. The expression runs against an already serialized DN, so it cannot tell an RDN separator from a separator character that occurs inside a value. Under RFC 2253, used by Apache and by nginx's $ssl_client_s_dn, a comma inside a value is escaped as \, and the expression reads it as a separator regardless. RFC 2253 also does not treat / as a separator, so it leaves it bare inside a value, while the expression treats every / as one. The legacy X509_NAME_oneline() format, used by Apache's LegacyDNStringFormat and by nginx's $ssl_client_s_dn_legacy, is the mirror image: it escapes / as \/ and leaves , bare. In that format, a certificate with no emailAddress attribute, or whose poisoned CN precedes it, authenticates as the smuggled address.
To cover both RFC 2253 and the legacy X509_NAME_oneline() format, X509Authenticator and X509AuthenticationListener now split the DN into RDNs before looking for the attribute, instead of matching the attribute against the serialized string. They select the separator from the serialization, split on unescaped occurrences of that separator only, unescape each RDN afterwards with the rules of its format, and require the attribute to span a whole RDN. The accepted value grammar is unchanged.
Applications that pass a per-attribute user key (such as SSL_CLIENT_S_DN_Email) and deployments whose CA generates or validates the subject are not affected by this vulnerability.
Sursa: NVD · CNA: 596c5446-0ce5-4ba2-aa66-48b3b757a647
Cum îl remediezi, pas cu pas
Verifică dacă ești afectat
Identifică toate sistemele care rulează sensiolabs Symfony și compară versiunea lor cu versiunile afectate.
Actualizează la o versiune remediată
- Actualizează Symfony la 5.4.56, 6.4.50, 7.4.23, 8.1.11 sau mai nou, pe ramura pe care o folosești.
Confirmă remedierea
Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.
Ți-a fost util?
Cum poate fi exploatată
- Vector de atac
- Rețea
- Complexitatea atacului
- Scăzut
- Condiții de atac
- Prezente
- Privilegii necesare
- Scăzut
- Interacțiune cu utilizatorul
- Niciunul
- Confidențialitate
- Ridicat
- Integritate
- Ridicat
- Disponibilitate
- Ridicat
Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Produse afectate
| Produse afectate | Versiuni |
|---|---|
| sensiolabs Symfony | < 5.4.56 · ≥ 6.0.0, < 6.4.50 · ≥ 7.0.0, < 7.4.23 · ≥ 8.0.0, < 8.1.11 |
Tip de slăbiciune
- CWE-290 authentication bypass by spoofing
Cronologie
- Publicat:
- Ultima modificare:
Întrebări frecvente
Este CVE-2026-118513 exploatată?
Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.3% de exploatare în următoarele 30 de zile.
Care este scorul CVSS pentru CVE-2026-118513?
CVE-2026-118513 are un scor de bază CVSS 4.0 de 7.7 (ridicat).
Ce versiuni sunt afectate?
Sensiolabs Symfony (< 5.4.56; ≥ 6.0.0, < 6.4.50; ≥ 7.0.0, < 7.4.23; ≥ 8.0.0, < 8.1.11)
Există patch pentru CVE-2026-118513?
Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.
Referințe
Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.