CVE-2021-39174
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| fiveai | Cachet | < 2.5.1 | affected |
Weaknesses
- CWE-75: CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1
- https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/
References
- https://github.com/fiveai/Cachet/releases/tag/v2.5.1
- https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.