PT-2021-22432 · Cachet · Cachet
Sedan07
+1
·
Published
2021-08-27
·
Updated
2023-01-19
·
CVE-2021-39174
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Cachet versions prior to 2.5.1
Description
Cachet is an open source status page system. Authenticated users, regardless of their privileges, 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 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.Recommendations
For versions prior to 2.5.1, update to version 2.5.1 to resolve the issue.
As a temporary workaround, consider restricting access to the administration dashboard to only trusted source IP addresses.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cachet