Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2024-26144 BIT-rails-2024-26144EUVD-2024-0573GHSA-8h22-8cf7-hq6g

Possible Sensitive Session Information Leak in Active Storage

Published Feb 27, 2024 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

Rails is a web-application framework. Starting with version 5.2.0, there is a possible sensitive session information leak in Active Storage. By default, Active Storage sends a Set-Cookie header along with the user's session cookie when serving blobs. It also sets Cache-Control to public. Certain proxies may cache the Set-Cookie, leading to an information leak. The vulnerability is fixed in 7.0.8.1 and 6.1.7.7.

Affected products

VendorProductAffectedFixed
rails rails >= 5.2.0, < 6.1.7.7, >= 7.0.0, < 7.0.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2:7.2.2.1+dfsg-1 —
Debian 13 rails 2:7.2.2.1+dfsg-1 —
Debian 12 rails 2:6.1.7.10+dfsg-1~deb12u1 DSA-5881-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 25.10 rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Capsule 6 python-pulp-container +1 2.16.9-2.el8pc RHSA-2024:10806
Red Hat Satellite Capsule 6 rubygem-rack 2.2.8.1-1.el8sat RHSA-2024:10806
Red Hat Satellite 6 python-pulp-container +1 2.16.9-2.el8pc RHSA-2024:10806
Red Hat Satellite 6 rubygem-activestorage 6.1.7.7-1.el8sat RHSA-2024:10806
Red Hat Satellite 6 rubygem-rack 2.2.8.1-1.el8sat RHSA-2024:10806

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activestorage >= 5.2.0, < 6.1.7.7 6.1.7.7 GHSA-8h22-8cf7-hq6g
RubyGems activestorage >= 7.0.0, < 7.0.8.1 7.0.8.1 GHSA-8h22-8cf7-hq6g

Advisories 3

References