CVE-2018-16477: Active Storage - Stored XSS
- Cve: CVE-2018-16477
- Name: Active Storage - Stored XSS
- 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.
- Impact: Attackers can execute malicious HTML inline and access private signed URLs, leading to potential data theft or code execution.
- Remediation: Update to version 5.2.1.1.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Epss score: 0.01311
- Epss percentile: 0.71404
- Assignee: [email protected]
- Published at: 2018-11-30T19:29:00Z
- Age in days: 2916
- Modified at: 2026-06-17T01:44:21Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-16477
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
| NVD-CWE-noinfo | — |
Hackerone
- Reports: 4
- Rank: 693
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://groups.google.com/d/msg/rubyonrails-security/3KQRnXDIuLg/mByx5KkqBAAJ | nvd | 2018-11-30 |
References
| Url | Source | Tags |
|---|---|---|
| https://weblog.rubyonrails.org/2018/11/27/Rails-4-2-5-0-5-1-5-2-have-been-released/ | nvd | Vendor Advisory |
| https://groups.google.com/d/msg/rubyonrails-security/3KQRnXDIuLg/mByx5KkqBAAJ | nvd | Exploit, Mailing List, Mitigation, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rubyonrails:rails | >= 5.2.0, < 5.2.1.1 | no | nvd | /v1/products/rubyonrails/rails |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rails/rails | fix | yes | /v1/repositories/rails/rails |
Index
- Repositories: 2
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-11-30
- Remote: yes
- Hackerone reports: 4
- Exposed hosts: 2416366
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since