4.9medium
Arbitrary file read via symlinks in Ghost
- Severity
- 4.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 9.96% (higher than 96% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-9c9v-w225-v5rgBIT-GHOST-2023-40028
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
| Product or package | Versions | Reported by |
|---|---|---|
| TryGhost Ghost | < 5.59.1 | CVE List |
| ghost (npm) | before 5.59.1 | GitHub Advisory Database |
| ghost ghost | before 5.59.1 | NVD |
| ghost (Bitnami) | before 5.59.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
A vulnerability in Ghost allows authenticated users to upload files which are symlinks. This can be exploited to perform an arbitrary file read of any file on the operating system.
Site administrators can check for exploitation of this issue by looking for unknown symlinks within Ghost's content/ folder
Vulnerable versions
This security vulnerability is present in Ghost ≤ v5.59.0.
Patches
v5.59.1 contains a fix for this issue.
For more information
If you have any questions or comments about this advisory:
- Email us at security@ghost.org
References
| https://github.com/TryGhost/Ghost/security/advisories/GHSA-9c9v-w225-v5rg | advisory, vendor-advisory, web | |
| https://github.com/TryGhost/Ghost/commit/690fbf3f7302ff3f77159c0795928bdd20f41205 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-40028 | advisory, web | |
| https://github.com/TryGhost/Ghost | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-40028 changed 2024-10-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9c9v-w225-v5rg changed 2023-12-06 | CC-BY-4.0 |
| NVD | CVE-2023-40028 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GHOST-2023-40028 changed 2026-09-08 | Apache-2.0 |