CVE-2021-39172
published 2021-08-27CVE-2021-39172: 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…
PriorityP267high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
29.17%
97.9th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cachethq | cachet | >= 0 < 2.5.1 | 2.5.1 |
| catchethq | catchet | < 2.5.1 | 2.5.1 |
| fiveai | cachet | < 2.5.1 | 2.5.1 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Cachet vulnerable to new line injection during configuration edition
ghsa·2021-08-30
CVE-2021-39172 [HIGH] CWE-93 Cachet vulnerable to new line injection during configuration edition
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
OSV
Cachet vulnerable to new line injection during configuration edition
osv·2021-08-30
CVE-2021-39172 [HIGH] Cachet vulnerable to new line injection during configuration edition
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
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/https://github.com/fiveai/Cachet/releases/tag/v2.5.1https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/https://github.com/fiveai/Cachet/releases/tag/v2.5.1https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6
2021-08-27
Published