{"id":"CVE-2021-39174","published":"2021-08-27T23:25:08Z","modified":"2024-08-04T01:58:18Z","title":"Configuration leak","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 leak the value of any configuration entry of the dotenv file, e.g. the application secret (`APP_KEY`) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file. 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.05011,"percentile":0.92443,"provenance":"source"},"cwes":[{"id":"CWE-75","name":"Failure to Sanitize Special Elements into a Different Plane"}],"references":[{"url":"https://github.com/fiveai/Cachet/releases/tag/v2.5.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/fiveai/Cachet/security/advisories/GHSA-88f9-7xxh-c688","tags":["x_refsource_CONFIRM"]},{"url":"https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/","tags":["x_refsource_MISC"]}],"priority":{"score":29.6,"factors":[{"name":"EPSS percentile","points":18.49},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2022-05-03","earliestUrl":"https://github.com/n0kovo/CVE-2021-39174-PoC","repos":[{"name":"n0kovo/CVE-2021-39174-PoC","url":"https://github.com/n0kovo/CVE-2021-39174-PoC","stars":4,"created":"2022-05-03"},{"name":"hadrian3689/cachet_2.4.0-dev","url":"https://github.com/hadrian3689/cachet_2.4.0-dev","stars":0,"created":"2022-06-21"}]},"first":{"date":"2022-05-03","source":"PoC-in-GitHub","url":"https://github.com/n0kovo/CVE-2021-39174-PoC"},"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-88f9-7xxh-c688"],"provenance":"source"}],"summary":{"text":"The Cachet status page system, prior to version 2.5.1, has a configuration leak flaw in its configuration update handling, which allows any configuration value in the dotenv file (such as the application secret and database and email passwords) to be exposed. An attacker needs only a low-privileged authenticated account, either User or Admin, and can reach the application over the network without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:02:45Z"},"euvd":{"id":"EUVD-2021-1634","exploited":false,"provenance":"source"}}