High severityNVD Advisory· Published Aug 27, 2021· Updated Aug 4, 2024
New line injection during configuration edition
CVE-2021-39172
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 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
cachethq/cachetPackagist | < 2.5.1 | 2.5.1 |
Affected products
2Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-9jxw-cfrh-jxq6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-39172ghsaADVISORY
- blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injectionghsaWEB
- blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/mitrex_refsource_MISC
- github.com/fiveai/Cachet/commit/6442976c25930cb370c65a22784b9caee7ed1de2ghsaWEB
- github.com/fiveai/Cachet/releases/tag/v2.5.1ghsax_refsource_MISCWEB
- github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.