CVE-2021-39174
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).
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.89%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.89% probability · 90th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-75
- Affected
- catchethq/catchet
- Source
- security-advisories@github.com
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.1Release Notes, Third Party Advisory
- https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688Third 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.1Release Notes, Third Party Advisory
- https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.