CVE-2021-44528
actionpack Open Redirect in Host Authorization Middleware
Record summary
CVE-2021-44528 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
Description
A open redirect vulnerability exists in Action Pack >= 6.0.0 that could allow an attacker to craft a "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.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
https://github.com/rails/rails | CVE List | 6.1.4.2, 6.0.4.2, 7.0.0.rc2 | affected |
actionpackBrowse RubyGems / actionpack | GitHub Advisory | 6.0.0 to < 6.0.4.2 · Fixed in 6.0.4.2 | affected |
| 6.1.0 to < 6.1.4.2 · Fixed in 6.1.4.2 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMOpen Redirect in Host Authorization MiddlewareCVSS 6.1
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.
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.
Source: ProjectDiscovery