CVEvulnerability
CVE-2021-39172
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-08-27
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-93
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 exploit a new line injection in the configuration edition feature (e.g. mail settings) and gain arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of new lines characters in new configuration values. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.
Affected configurations
• catchethq catchet (< 2.5.1)
Related
Weakness · CWE (1)
- CWE-93 Improper Neutralization of CRLF Sequences weakness
References
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/ Exploit, Third Party Advisory
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1 Release Notes, Third Party Advisory
- https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6 Third Party Advisory
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/ Exploit, Third Party Advisory
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1 Release Notes, Third Party Advisory
- https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6 Third Party Advisory