Arbitrary file upload in Ghost
CVE-2022-27139
An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary code via a crafted SVG file. NOTE: Vendor states that as outlined in Ghost's security documentation, upload of SVGs is only possible by trusted authenticated users. The uploading of SVG files to Ghost does not represent a remote code execution vulnerability. SVGs are not executable on the server, and may only execute javascript in a client's browser - this is expected and intentional functionality
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.040 (90.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 90.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.038 · newest: 0.040 · change: +0.003
Affected products
- Ghost — versions 4.39.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- youtu.be/FCqWEvir2wE (Exploit, Third Party Advisory)
- ghost.org/docs/security/
Frequently asked questions
- What is CVE-2022-27139?
- CVE-2022-27139 is a critical-severity vulnerability in Ghost, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2022-04-12.
- How severe is CVE-2022-27139?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-27139 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.