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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| fiveai | Cachet | < 2.5.1 |
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.1Release Notes, Third Party Advisory
- https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6Third 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.1Release Notes, Third Party Advisory
- https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6Third Party Advisory
Timeline
- Published
- Aug 27, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified