CVE•Published 2021-02-11•1 article on news•7 live references•NVD data
CVE-2021-22881
Vulnerability data via CVEDB (Shodan)
CVSS v3.1
6.1
MEDIUM
EPSS percentile
100
Exploit Prediction Scoring System · top 0% of all CVEs
Description
The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an open redirect vulnerability. Specially crafted `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. Impacted applications will have allowed hosts with a leading dot. When an allowed host contains a leading dot, a specially crafted `Host` header can be used to redirect to a malicious website.
Timeline
Published 2021-02-11
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
Shodan · vuln tag0 hosts
vuln:CVE-2021-22881Hosts Shodan has explicitly fingerprinted as vulnerable.
Shodan · product + version
product:"Rubyonrails Rails" version:"6.0.0"Version-pinned fingerprint from NVD's first vulnerable CPE.
Shodan · banner/body mention
http.html:"Rails"HTTP body or banner mentions "Rails" — catches deploys Shodan didn't identify as a product.
More intel sources (5)
Shodan report
vuln:CVE-2021-22881Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2021-22881Censys host search filtered to this CVE id.
grep.app
CVE-2021-22881Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2021-22881GitHub code search for direct mentions.
Google dork
"CVE-2021-22881" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.
Known PoCs on GitHub
No public proof-of-concept repositories found for CVE-2021-22881 on GitHub.