Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-F7A00AD7-AE75-11EB-8113-08002728F74C (CVE-2021-22903): Rails -- multiple vulnerabilities

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-F7A00AD7-AE75-11EB-8113-08002728F74C (CVE-2021-22903): Rails -- multiple vulnerabilities

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
05/05/2021
Created
11/08/2022
Added
11/04/2022
Modified
11/04/2022

Description

The actionpack ruby gem before 6.1.3.2 suffers from a possible 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. This is similar to CVE-2021-22881. Strings in config.hosts that do not have a leading dot are converted to regular expressions without proper escaping. This causes, for example, `config.hosts << "sub.example.com"` to permit a request with a Host header value of `sub-example.com`.

Solution(s)

  • freebsd-upgrade-package-rubygem-actionpack52
  • freebsd-upgrade-package-rubygem-actionpack60
  • freebsd-upgrade-package-rubygem-actionpack61

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;