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

CVE-2025-66305

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

Descrizione

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a Denial of Service (DoS) vulnerability was identified in the "Languages" submenu of the Grav admin configuration panel (/admin/config/system). Specifically, the Supported parameter fails to properly validate user input. If a malformed value is inserted—such as a single forward slash (/) or an XSS test string—it causes a fatal regular expression parsing error on the server. This leads to application-wide failure due to the use of the preg_match() function with an improperly constructed regular expression, resulting in an error. Once triggered, the site becomes completely unavailable to all users. This vulnerability is fixed in 1.8.0-beta.27.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
getgrav grav >= 1.7.48 < 1.8.0 –
getgrav grav 1.8.0 beta1 –
getgrav grav 1.8.0 beta10 –
getgrav grav 1.8.0 beta11 –
getgrav grav 1.8.0 beta12 –
getgrav grav 1.8.0 beta13 –
getgrav grav 1.8.0 beta14 –
getgrav grav 1.8.0 beta15 –
getgrav grav 1.8.0 beta16 –
getgrav grav 1.8.0 beta17 –
getgrav grav 1.8.0 beta18 –
getgrav grav 1.8.0 beta19 –
getgrav grav 1.8.0 beta2 –
getgrav grav 1.8.0 beta20 –
getgrav grav 1.8.0 beta21 –
getgrav grav 1.8.0 beta22 –
getgrav grav 1.8.0 beta23 –
getgrav grav 1.8.0 beta24 –
getgrav grav 1.8.0 beta25 –
getgrav grav 1.8.0 beta26 –
getgrav grav 1.8.0 beta3 –
getgrav grav 1.8.0 beta4 –
getgrav grav 1.8.0 beta5 –
getgrav grav 1.8.0 beta6 –
getgrav grav 1.8.0 beta7 –
getgrav grav 1.8.0 beta8 –
getgrav grav 1.8.0 beta9 –
Tutte le 207 vulnerabilità di Getgrav Grav

Tipo di vulnerabilità

CWE-248 Uncaught Exception

An exception is thrown from a function, but it is not caught.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Riservatezza Interruzione del servizio: arresto o riavvio, Leggere i dati dell’applicazione

Come si previene

Requisiti The choice between a language which has named or unnamed exceptions needs to be done. While unnamed exceptions exacerbate the chance of not properly dealing with an exception, named exceptions suffer from the up call version of the weak base class problem.
Requisiti A language can be used which requires, at compile time, to catch all serious exceptions. However, one must make sure to use the most current version of the API as new exceptions could be added.
Sviluppo Catch all relevant exceptions. This is the recommended solution. Ensure that all exceptions are handled in such a way that you can be sure of the state of your system at any given moment.

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

Tutte le 356 CVE di tipo CWE-248, con andamento e prevenzione

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