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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fiveai | Cachet | < 2.5.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
W1ngLess/CVE-2021-39172-RCE ★ 4 · Sep 17, 2022
Cachet 2.4 Code Execution via Laravel Configuration Injection CVE-2021-39172
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | cachethq/cachet | < 2.5.1 | 2.5.1 | GHSA-9jxw-cfrh-jxq6 |