CVE-2023-31133 in ghost

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

Ghost is an app for new-media creators with tools to build a website, publish content, send newsletters, and offer paid subscriptions to members. Prior to version 5.46.1, due to a lack of validation when filtering on the public API endpoints, it is possible to reveal private fields via a brute force attack. Ghost(Pro) has already been patched. Maintainers can find no evidence that the issue was exploited on Ghost(Pro) prior to the patch being added. Self-hosters are impacted if running Ghost a version below v5.46.1. v5.46.1 contains a fix for this issue. As a workaround, add a block for requests to `/ghost/api/content/*` where the `filter` query parameter contains `password` or `email`.

Affected software: ghost

Scores

What LogPulse has for it

How to mitigate it

Update Ghost to 5.46.1 or later

Patch or upgrade. Ghost before 5.46.1 lets public Content API filters use private fields, so a remote user can guess password hashes and email addresses, and Ghost before 5.42.1 serves files of the theme folder through /assets/built%2F..%2F paths. 5.46.1 fixes both.

Applies to: Self-hosted Ghost before 5.46.1 (file read: before 5.42.1).

  1. Check the Ghost version in Ghost Admin under Settings, About, or with ghost version in the install folder.
  2. Back up the content and database, then run ghost update to 5.46.1 or later.
  3. Until the update is done, block requests to /ghost/api/content/ whose filter parameter contains password or email, and paths with %2F..%2F, in the reverse proxy.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse