Vulnerability identifier: #VU86810
Vulnerability risk: Medium
CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-200
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Ruby on Rails
Universal components / Libraries /
Scripting languages
Vendor: Rails
Description
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to the Active Storage send a Set-Cookie header along with the user's session cookie when serving blobs. It also sets Cache-Control to public. Such cookie can be cached certain proxies and lead to information disclosure.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Ruby on Rails: 7.0.0 - 7.0.8, 6.1.0 - 6.1.7.6, 6.0.0 - 6.0.6.1
External links
http://github.com/rails/rails/security/advisories/GHSA-8h22-8cf7-hq6g
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.