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

CVE-2025-66202

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

Descrizione

Astro is a web framework. Versions 5.15.7 and below have a double URL encoding bypass which allows any unauthenticated attacker to bypass path-based authentication checks in Astro middleware, granting unauthorized access to protected routes. While the original CVE-2025-64765 was fixed in v5.15.8, the fix is insufficient as it only decodes once. By using double-encoded URLs, attackers can still bypass authentication and access any route protected by middleware pathname checks. This issue is fixed in version 5.15.8.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
astro astro < 5.15.8 node.js
Tutte le 20 vulnerabilità di Astro

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