Advisory

GHSA-7rr7-rcjw-56vj

Also known as: CVE-2018-16477

Summary

Exposure of Sensitive Information to an Unauthorized Actor in activestorage

Details

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.

Vulnerable apps are those using either GCS or the Disk service in production. Other storage services such as S3 or Azure aren't affected.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2018-12-05 17:17 UTC
Modified
2024-02-22 05:37 UTC

Affected packages and fixes

activestorage

RubyGems · All systems

Affected

  • introduced 5.2.0, fixed 5.2.1.1 (ecosystem)

Fixed versions

5.2.1.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences