nuclei-templates/http/cves/2021/CVE-2021-44528.yaml

51 lines
2.0 KiB
YAML
Raw Normal View History

2021-12-15 15:13:07 +00:00
id: CVE-2021-44528
info:
name: Open Redirect in Host Authorization Middleware
author: geeknik
severity: medium
2021-12-15 15:13:07 +00:00
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.
2023-09-27 15:51:13 +00:00
impact: |
This vulnerability can lead to phishing attacks, where users are tricked into visiting malicious websites and disclosing sensitive information.
2023-09-06 12:09:01 +00:00
remediation: |
Apply the latest security patches or updates provided by the vendor to fix the Open Redirect vulnerability in the Host Authorization Middleware.
2021-12-15 15:13:07 +00:00
reference:
- https://seclists.org/oss-sec/2021/q4/att-160/7-0-host-authorzation-open-redirect.patch
- https://nvd.nist.gov/vuln/detail/CVE-2021-44528
- https://github.com/rails/rails/commit/0fccfb9a3097a9c4260c791f1a40b128517e7815
2023-07-15 16:29:17 +00:00
- https://www.debian.org/security/2023/dsa-5372
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2021-44528
cwe-id: CWE-601
2023-08-31 11:46:18 +00:00
epss-score: 0.00087
epss-percentile: 0.36061
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:rubyonrails:rails:6.0.4.2:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-15 16:29:17 +00:00
vendor: rubyonrails
product: rails
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,seclists,redirect,rubyonrails
2021-12-15 15:13:07 +00:00
http:
2021-12-15 15:13:07 +00:00
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
X-Forwarded-Host: //interact.sh
2021-12-15 15:13:07 +00:00
matchers-condition: and
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
2021-12-15 15:13:07 +00:00
- type: status
status:
- 301
- 302
- 307
- 308
# digest: 4a0a004730450220187cab3673d4b39970accee9e374de2fc3060696feb954fe8352f18749b67a180221008264d516349f0b29d618482b160d6aceca10d043f5bb2da941e4d0430c7b2bc5:922c64590222798bb761d5b6d8e72950