CVE-2020-8159: actionpack_page-caching - Unrestricted File Upload
- Cve: CVE-2020-8159
- Name: actionpack_page-caching - Unrestricted File Upload
- Description: There is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view.
- Impact: Attackers can write arbitrary files, potentially leading to remote code execution on the server.
- Remediation: Update to version 1.2.1 or later.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0538
- Epss percentile: 0.92861
- Assignee: [email protected]
- Published at: 2020-05-12T13:15:13Z
- Age in days: 2387
- Modified at: 2026-06-17T03:25:57Z
- Patch available: yes
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-8159
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Hackerone
- Reports: 5
- Rank: 128
References
| Url | Source | Tags |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2021/07/msg00019.html | nvd | Mailing List, Third Party Advisory |
| https://groups.google.com/forum/#%21topic/rubyonrails-security/CFRVkEytdP8 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| debian:debian_linux | = 9.0 | no | nvd | /v1/products/debian/debian_linux |
| rubyonrails:actionpack_page-caching | < 1.2.1 | no | nvd | /v1/products/rubyonrails/actionpack_page-caching |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rails/actionpack-page_caching | commit | yes | /v1/repositories/rails/actionpack-page_caching |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Remote: yes
- Hackerone reports: 5
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since