CVE-2021-39172
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 exploit a new line injection in the configuration edition feature (e.g. mail settings) and gain arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of new lines characters in new configuration values. 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-9jxw-cfrh-jxq6 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-39172
- cve.org/CVERecord?id=CVE-2021-39172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.