8.8high
Forced reinstall
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.36% (higher than 84% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r67m-m8c7-jp83
Description
Cachet is an open source status page system. Prior to version 2.5.1 authenticated users, regardless of their privileges (User or Admin), can trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fiveai Cachet | < 2.5.1 | CVE List |
| cachethq/cachet (Packagist) | before 2.5.1 | GitHub Advisory Database |
| catchethq catchet | before 2.5.1 | NVD |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
Cachet is an open source status page system. Prior to version 2.5.1 authenticated users, regardless of their privileges (User or Admin), can trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.
GitHub Advisory Database
Impact
Authenticated users, regardless of their privileges (User or Admin), can trick Cachet and install the instance again, leading to arbitrary code execution on the server.
Patches
This issue was addressed by improving the middleware ReadyForUse, which now performs a stricter validation of the instance name.
Workarounds
Only allow trusted source IP addresses to access to the administration dashboard.
References
For more information
If you have any questions or comments about this advisory, you can contact:
- The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;
- The maintainers, by opening an issue on this repository.
NVD (es)
Cachet es un sistema de páginas de estado de código abierto. versiones anteriores a 2.5.1 unos usuarios autenticados, independientemente de sus privilegios (Usuario o Administrador), pueden engañar a Cachet e instalar la instancia de nuevo, conllevando a una ejecución de código arbitrario en el servidor. Este problema fue solucionado en versión 2.5.1, al mejorar el middleware "ReadyForUse", que ahora lleva a cabo una comprobación más estricta del nombre de la instancia. Como solución, sólo permita que direcciones IP de origen confiable accedan al panel de administración.
References
| https://github.com/fiveai/Cachet/releases/tag/v2.5.1 | release-notes, third-party-advisory, web | |
| https://github.com/fiveai/Cachet/security/advisories/GHSA-r67m-m8c7-jp83 | third-party-advisory, web | |
| https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/ | exploit, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-39173 | advisory | |
| https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection | web | |
| https://github.com/fiveai/Cachet | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39173 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r67m-m8c7-jp83 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-39173 changed 2026-06-17 | Public domain |