{"id":"CVE-2021-41192","published":"2021-11-23T23:50:10Z","modified":"2024-08-04T03:08:31Z","title":"Insecure default configuration","vendor":"getredash","product":"redash","tier":"tail","description":{"text":"Redash is a package for data visualization and sharing. If an admin sets up Redash versions 10.0.0 and prior without explicitly specifying the `REDASH_COOKIE_SECRET` or `REDASH_SECRET_KEY` environment variables, a default value is used for both that is the same across all installations. In such cases, the instance is vulnerable to attackers being able to forge sessions using the known default value. This issue only affects installations where the `REDASH_COOKIE_SECRET or REDASH_SECRET_KEY` environment variables have not been explicitly set. This issue does not affect users of the official Redash cloud images, Redash's Digital Ocean marketplace droplets, or the scripts in the `getredash/setup` repository. These instances automatically generate unique secret keys during installation. One can verify whether one's instance is affected by checking the value of the `REDASH_COOKIE_SECRET` environment variable. If it is `c292a0a3aa32397cdb050e233733900f`, should follow the steps to secure the instance, outlined in the GitHub Security Advisory.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08143,"percentile":0.94977,"provenance":"source"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/getredash/redash/security/advisories/GHSA-g8xr-f424-h2rv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getredash/redash/commit/ce60d20c4e3d1537581f2f70f1308fe77ab6a214","tags":["x_refsource_MISC"]},{"url":"https://ian.sh/redash","tags":["x_refsource_MISC"]}],"priority":{"score":29.7,"factors":[{"name":"EPSS percentile","points":19.0},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"nuclei":[{"id":"CVE-2021-41192","name":"Redash Setup Configuration - Default Secrets Disclosure","severity":"medium","path":"http/cves/2021/CVE-2021-41192.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-41192.yaml"}],"provenance":"source"},"vendorSlug":"getredash","affectedVersions":[{"vendor":"getredash","product":"redash","versions":["<= 10.0.0"]}],"summary":{"text":"The insecure default lives in Redash (getredash), specifically in its session handling: when an administrator deploys Redash 10.0.0 or earlier without explicitly setting the REDASH_COOKIE_SECRET or REDASH_SECRET_KEY environment variables, a default secret shared across all such installations is used. An attacker with network access and low-privilege authentication to an affected instance can forge session cookies using that known default value to impersonate users and gain high confidentiality and integrity impact, without user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:35:47Z"},"euvd":{"id":"EUVD-2021-28287","exploited":false,"provenance":"source"}}