CVE-2021-39172 – cachethq/cachet
Package
Manager: composer
Name: cachethq/cachet
Vulnerable Version: >=0 <2.5.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.56663 pctl0.98047
Details
Cachet vulnerable to new line injection during configuration edition ### Impact 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. ### Patches This issue was addressed by improving `UpdateConfigCommandHandler` and preventing the use of new lines characters in new configuration values. ### Workarounds Only allow trusted source IP addresses to access to the administration dashboard. ### References - https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection ### For more information If you have any questions or comments about this advisory, you can contact: - The original reporters, by sending an email to vulnerability.research [at] sonarsource.com; - The maintainers, by opening an issue on this repository.
Metadata
Created: 2021-08-30T16:11:24Z
Modified: 2022-08-11T00:16:20Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-9jxw-cfrh-jxq6/GHSA-9jxw-cfrh-jxq6.json
CWE IDs: ["CWE-93"]
Alternative ID: GHSA-9jxw-cfrh-jxq6
Finding: F184
Auto approve: 1