Skip to content
OpenAdvisories
Medium · 6.5 CVE-2018-16477 EUVD-2018-0801GHSA-7rr7-rcjw-56vj

Exposure of Sensitive Information to an Unauthorized Actor in activestorage

Published Nov 30, 2018 · Updated Aug 5, 2024 · Assigned by hackerone

Description

A bypass vulnerability in Active Storage >= 5.2.0 for Google Cloud Storage and Disk services allow an attacker to modify the `content-disposition` and `content-type` parameters which can be used in with HTML files and have them executed inline. Additionally, if combined with other techniques such as cookie bombing and specially crafted AppCache manifests, an attacker can gain access to private signed URLs within a specific storage path. This vulnerability has been fixed in version 5.2.1.1.

Affected products

VendorProductAffectedFixed
— https://github.com/rails/rails 5.2.0 and later and before 5.2.1.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:5.2.2+dfsg-1 —
Debian 13 rails 2:5.2.2+dfsg-1 —
Debian 12 rails 2:5.2.2+dfsg-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activestorage >= 5.2.0, < 5.2.1.1 5.2.1.1 GHSA-7rr7-rcjw-56vj

References