1. Archivio CVE
  2. 2026
  3. CVE-2026-135801

CVE-2026-135801

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

Descrizione

Since the fix for CVE-2025-64500, Request::getPathInfo() strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin gets the path info /admin and is routed like /admin. Encoded spellings such as /index%2Ephpadmin or /%69ndex.phpadmin work too. Before that fix, the path info was admin, which no route matched. Rules enforced by Symfony are not affected: access_control and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the .htaccess file of symfony/apache-pack make /index.php/admin unreachable, but they pass /index.phpadmin to the front controller. So a location /admin block in nginx, a <Location /admin> section in Apache, or a CDN or WAF rule on /admin can be bypassed. The script name is now stripped only when it is followed by /, ? or the end of the URL. A request to /index.phpadmin gets the path info /index.phpadmin.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
symfony symfony/http-foundation >= 5.4.50 < 5.4.56 –
symfony symfony/http-foundation >= 6.4.29 < 6.4.50 –
symfony symfony/http-foundation >= 7.3.7 < 7.4.23 –
symfony symfony/http-foundation >= 8.0.0 < 8.1.11 –
symfony symfony/symfony >= 5.4.50 < 5.4.56 –
symfony symfony/symfony >= 6.4.29 < 6.4.50 –
symfony symfony/symfony >= 7.3.7 < 7.4.23 –
symfony symfony/symfony >= 8.0.0 < 8.1.11 –

Tipo di vulnerabilità

CWE-288 Aggiramento dell’autenticazione tramite un percorso o canale alternativo

Il prodotto richiede l’autenticazione, ma offre un percorso o un canale alternativo che non la richiede.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione Funnel all access through a single choke point to simplify how users can access a resource. For every access, perform a check to determine if the user has permissions to access the resource.

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

Tutte le 638 CVE di tipo CWE-288, con andamento e prevenzione

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