CVE-2023-31133 Ghost vulnerable to disclosure of private API fields

High 7.5 Published Updated

Attackers can reveal private API fields via brute force on public endpoints, exposing sensitive data in Ghost CMS installations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-31133?

CVE-2023-31133 is a high-severity vulnerability in TryGhost Ghost, published on 8 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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`.

Weakness: CWE-200

Which versions are affected by CVE-2023-31133?

3 open source packages ship an affected version, including ghost. It affects 1 product.

PackageAffectedFixed in
ghost BitnamiAll versions5.46.1
ghost npmAll versions5.46.1
ghost npmAll versions5.46.1

Products include Ghost Ghost.

How do I fix CVE-2023-31133?

Upgrade ghost to 5.46.1 or later.

Is CVE-2023-31133 being exploited?

There is no known exploitation of CVE-2023-31133 in the wild and no public exploit code.

Sources

Also known as BIT-ghost-2023-31133, GHSA-r97q-ghch-82j9.

Is CVE-2023-31133 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free