{"id":"CVE-2021-39172","published":"2021-08-27T22:50:09Z","modified":"2024-08-04T01:58:18Z","title":"New line injection during configuration edition","vendor":"fiveai","product":"Cachet","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.29172,"percentile":0.98213,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fiveai/Cachet/releases/tag/v2.5.1","tags":["x_refsource_MISC"]},{"url":"https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/","tags":["x_refsource_MISC"]}],"priority":{"score":30.8,"factors":[{"name":"EPSS percentile","points":19.64},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-09-17","earliestUrl":"https://github.com/W1ngLess/CVE-2021-39172-RCE","repos":[{"name":"W1ngLess/CVE-2021-39172-RCE","url":"https://github.com/W1ngLess/CVE-2021-39172-RCE","stars":4,"created":"2022-09-17"}]},"first":{"date":"2022-09-17","source":"PoC-in-GitHub","url":"https://github.com/W1ngLess/CVE-2021-39172-RCE"},"provenance":"source"},"vendorSlug":"fiveai","affectedVersions":[{"vendor":"fiveai","product":"Cachet","versions":["< 2.5.1"]}],"affected":[{"ecosystem":"Packagist","package":"cachethq/cachet","vulnerableRanges":["<2.5.1"],"patched":["2.5.1"],"from":["GHSA-9jxw-cfrh-jxq6"],"provenance":"source"}],"summary":{"text":"A new line injection flaw in the configuration editing feature of Cachet, an open source status page system, affects versions prior to 2.5.1. An authenticated user with any privilege level (User or Admin) who can reach the network can exploit it, with no user interaction required, to achieve arbitrary code execution on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:02Z"},"euvd":{"id":"EUVD-2021-1662","exploited":false,"provenance":"source"}}