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 leak the value of any configuration entry of the dotenv file, e.g. the application secret (`APP_KEY`) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file. 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 2 repositories
-
n0kovo/CVE-2021-39174-PoC ★ 4 · May 3, 2022
Cachet configuration leak dumper. CVE-2021-39174 PoC.
-
hadrian3689/cachet_2.4.0-dev ★ 0 · Jun 21, 2022
CVE-2021-39174 Cachet 2.4.0-dev
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-88f9-7xxh-c688 |