CVE-2021-39174
published 2021-08-28CVE-2021-39174: 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…
PriorityP356high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
3.89%
88.9th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cachethq | cachet | >= 0 < 2.5.1 | 2.5.1 |
| catchethq | catchet | < 2.5.1 | 2.5.1 |
| fiveai | cachet | < 2.5.1 | 2.5.1 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Cachet configuration leak
ghsa·2021-08-30
CVE-2021-39174 [HIGH] CWE-75 Cachet configuration leak
Cachet configuration leak
### Impact
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).
### Patches
This issue was addressed by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file.
### Workarounds
Only allow trusted source IP addresses to access to the administration dashboard.
### References
Further technical details are available at [https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection](https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection).
### For more information
If
OSV
Cachet configuration leak
osv·2021-08-30
CVE-2021-39174 [HIGH] Cachet configuration leak
Cachet configuration leak
### Impact
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).
### Patches
This issue was addressed by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file.
### Workarounds
Only allow trusted source IP addresses to access to the administration dashboard.
### References
Further technical details are available at [https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection](https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection).
### For more information
If
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/https://github.com/fiveai/Cachet/releases/tag/v2.5.1https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/https://github.com/fiveai/Cachet/releases/tag/v2.5.1https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688
2021-08-28
Published