4.9medium
Grav is vulnerable to a DOS on the admin panel
- Severity
- 4.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-x62q-p736-3997
Description
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A Denial of Service (DoS) vulnerability has been identified in Grav related to the handling of scheduled_at parameters. Specifically, the application fails to properly sanitize input for cron expressions. By manipulating the scheduled_at parameter with a malicious input, such as a single quote, the application admin panel becomes non-functional, causing significant disruptions to administrative operations. The only way to recover from this issue is to manually access the host server and modify the backup.yaml file to correct the corrupted cron expression. This vulnerability is fixed in 1.8.0-beta.27.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getgrav grav | < 1.8.0-beta.27, before 1.8.0, 1.8.0 | CVE List, NVD |
| getgrav/grav (Packagist) | before 1.8.0-beta.27 | GitHub Advisory Database |
All scores
| GitHub_M | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A Denial of Service (DoS) vulnerability has been identified in Grav related to the handling of scheduled_at parameters. Specifically, the application fails to properly sanitize input for cron expressions. By manipulating the scheduled_at parameter with a malicious input, such as a single quote, the application admin panel becomes non-functional, causing significant disruptions to administrative operations. The only way to recover from this issue is to manually access the host server and modify the backup.yaml file to correct the corrupted cron expression. This vulnerability is fixed in 1.8.0-beta.27.
GitHub Advisory Database
DOS on the admin panel
Severity Rating: Medium
Vector: Denial Of Service
CVE: XXX
CWE: 400 - Uncontrolled Resource Consumption
CVSS Score: 4.9
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Analysis
A Denial of Service (DoS) vulnerability has been identified in the application related to the handling of scheduled_at parameters. Specifically, the application fails to properly sanitize input for cron expressions. By manipulating the scheduled_at parameter with a malicious input, such as a single quote, the application admin panel becomes non-functional, causing significant disruptions to administrative operations.
The only way to recover from this issue is to manually access the host server and modify the backup.yaml file to correct the corrupted cron expression
Proof of Concept
-
Change the value of
scheduled_atparameter to'as shown in the following figures at thehttp://127.0.0.1/admin/toolsendpoint, and observe the response in the second figure: gravdos2 Figure: Http request on tool endpoint gravdos3 Figure: Http response on tool endpoint -
When trying to access the admin panel, the panel is broken as shown in the following figure. Additionally, the value change is reflected in the
backup.yamlfile, as shown in the second figure: gravdos4 Figure: Error message view gravdos5 Figure: Backup.yaml file
Workarounds
No workaround is currently known
Timeline
2024-07-24 Issue identified
2024-09-27 Vendor contacted
About X41 D-Sec GmbH
X41 is an expert provider for application security services. Having extensive industry experience and expertise in the area of information security, a strong core security team of world class security experts enables X41 to perform premium security services.
Fields of expertise in the area of application security are security centered code reviews, binary reverse engineering and vulnerability discovery. Custom research and IT security consulting and support services are core competencies of X41.
NVD (es)
Grav es una plataforma web basada en archivos. Versiones anteriores a 1.8.0-beta.27, se ha identificado una vulnerabilidad de denegación de servicio (DoS) en Grav relacionada con el manejo de los parámetros 'scheduled_at'. Específicamente, la aplicación no logra sanear correctamente la entrada para las expresiones cron. Al manipular el parámetro 'scheduled_at' con una entrada maliciosa, como una comilla simple, el panel de administración de la aplicación deja de funcionar, causando interrupciones significativas en las operaciones administrativas. La única forma de recuperarse de este problema es acceder manualmente al servidor host y modificar el archivo 'backup.yaml' para corregir la expresión cron corrupta. Esta vulnerabilidad se corrige en 1.8.0-beta.27.
References
| https://github.com/getgrav/grav/security/advisories/GHSA-x62q-p736-3997 | exploit, third-party-advisory, web | |
| https://github.com/getgrav/grav/commit/9d11094e4133f059688fad1e00dbe96fb6e3ead7 | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-66303 | advisory | |
| https://github.com/getgrav/grav | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66303 changed 2025-12-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-x62q-p736-3997 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-66303 changed 2026-09-26 | Public domain |