Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2021-39174 EUVD-2021-1634GHSA-88f9-7xxh-c688

Configuration leak

Published Aug 27, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
fiveai Cachet < 2.5.1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist cachethq/cachet < 2.5.1 2.5.1 GHSA-88f9-7xxh-c688

References