CVE-2021-41192: refactor

patch-1
Daniel Santos 2022-02-25 13:10:32 -06:00
parent 148324c161
commit 7a843ee405
1 changed files with 15 additions and 4 deletions

View File

@ -1,7 +1,7 @@
id: CVE-2021-41192
info:
name: CVE-2021-41192
name: Redash Setup Configuration - Default secrets
author: bananabr
severity: critical
description: 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.
@ -18,15 +18,26 @@ requests:
path:
- "{{BaseURL}}/invite/IjEi.YhAmmQ.cdQp7CnnVq02aQ05y8tSBddl-qs"
- "{{BaseURL}}/redash/invite/IjEi.YhAmmQ.cdQp7CnnVq02aQ05y8tSBddl-qs"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- "Password"
- "password"
condition: or
- type: status
status:
- 200
- method: GET
path:
- "{{BaseURL}}/invite/IjEi.YhAmmQ.cdQp7CnnVq02aQ05y8tSBddl-qs"
- "{{BaseURL}}/redash/invite/IjEi.YhAmmQ.cdQp7CnnVq02aQ05y8tSBddl-qs"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- "password"
- type: status
status:
- 400
condition: or