Advisory

GHSA-9c9v-w225-v5rg

Also known as: BIT-ghost-2023-40028, CVE-2023-40028

Summary

Ghost vulnerable to arbitrary file read via symlinks in content import

Details

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:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-08-15 20:35 UTC
Modified
2023-12-06 01:03 UTC

Affected packages and fixes

ghost

npm · All systems

Affected

  • introduced 0, fixed 5.59.1 (semver)

Fixed versions

5.59.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences