Skip to content
OpenAdvisories
Medium · 4.9 Public exploit CVE-2023-40028 BIT-ghost-2023-40028EUVD-2023-2256GHSA-9c9v-w225-v5rg

Arbitrary file read via symlinks in Ghost

Published Aug 15, 2023 · Updated Oct 2, 2024 · Assigned by GitHub_M

Description

Ghost is an open source content management system. Versions prior to 5.59.1 are subject to a vulnerability which allows authenticated users to upload files that are symlinks. This can be exploited to perform an arbitrary file read of any file on the host operating system. Site administrators can check for exploitation of this issue by looking for unknown symlinks within Ghost's `content/` folder. Version 5.59.1 contains a fix for this issue. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
TryGhost Ghost < 5.59.1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 10 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm ghost < 5.59.1 5.59.1 GHSA-9c9v-w225-v5rg

References