CVEvulnerability
CVE-2021-39174
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-08-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-75
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 configurations
• catchethq catchet (< 2.5.1)
Related
Weakness · CWE (1)
- CWE-75 Failure to Sanitize Special Elements into a Different Plane weakness
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.1 Release Notes, Third Party Advisory
- https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688 Third 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.1 Release Notes, Third Party Advisory
- https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688 Third Party Advisory