CVE-2021-39174
Catchethq Catchet vulnerability
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
Catchet. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Catchethq Catchet runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/ · Exploit
- github.com/fiveai/Cachet/releases/tag/v2.5.1 · Third Party Advisory
- github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-39174
- cve.org/CVERecord?id=CVE-2021-39174
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.