Skip to main content
← All vulnerabilities
CVE-2021-39174GHSA-88F9-7XXH-C688

Configuration leak

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.1
2 proofs of concept on GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • fiveai Cachet

    fixed in 2.5.1

  • cachethq/cachetPackagist

    fixed in 2.5.1

References 5

GitHub · fiveai/Cachet

blog.sonarsource.com

GitHub · hadrian3689/cachet_2.4.0-dev

GitHub · n0kovo/CVE-2021-39174-PoC