GitHub Advisoryadvisory · npm

GHSA-9c9v-w225-v5rg Ghost vulnerable to arbitrary file read via symlinks in content import

MEDIUM Published 2023-08-15 Modified 2023-08-23 Official page ↗
Aliases
CVE-2023-40028
Ecosystem
npm
Packages
ghost
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22, CWE-59
Reviewed
2023-08-15

Affected packages

• npm ghost: < 5.59.1 → fixed in 5.59.1

Description

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 [email protected]

Related

Alias · CVE (1)

  • CVE-2023-40028 Ghost is an open source content management system. vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-59 Improper Link Resolution Before File Access weakness

References