1. Archivio CVE
  2. 2025
  3. CVE-2025-64500

CVE-2025-64500

7.3 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L 7.3 – Alta

Descrizione

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Symfony's HttpFoundation component defines an object-oriented layer for the HTTP specification. Starting in version 2.0.0 and prior to version 5.4.50, 6.4.29, and 7.3.7, the `Request` class improperly interprets some `PATH_INFO` in a way that leads to representing some URLs with a path that doesn't start with a `/`. This can allow bypassing some access control rules that are built with this `/`-prefix assumption. Starting in versions 5.4.50, 6.4.29, and 7.3.7, the `Request` class now ensures that URL paths always start with a `/`.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
sensiolabs httpfoundation >= 2.0.0 < 5.4.50 –
sensiolabs httpfoundation >= 6.0.0 < 6.4.29 –
sensiolabs httpfoundation >= 7.0.0 < 7.3.7 –
sensiolabs symfony >= 2.0.0 < 5.4.50 –
sensiolabs symfony >= 6.0.0 < 6.4.29 –
sensiolabs symfony >= 7.0.0 < 7.3.7 –
Tutte le 108 vulnerabilità di Sensiolabs Symfony

Tipo di vulnerabilità

CWE-647 Use of Non-Canonical URL Paths for Authorization Decisions

The product defines policy namespaces and makes authorization decisions based on the assumption that a URL is canonical.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione
Riservatezza Leggere file o cartelle

Come si previene

Architettura e progettazione Make access control policy based on path information in canonical form, with all alternate encodings rejected (which can be accomplished by a default deny rule). Consider very restrictive regular expressions to validate that the path is in the expected form. Reject all alternate path encodings that are not in the expected canonical form.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 20 CVE di tipo CWE-647, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org