VDB
KO
MEDIUM 4.8

GHSA-jm22-3w23-5q7w

Ghost: Blind Password Hash Disclosure in Ghost Admin API

Quick fix

GHSA-jm22-3w23-5q7w — ghost: upgrade to the fixed version with the command below.

npm install ghost@6.54.1

Details

### Impact

Any staff-level user was able to leak the hashed passwords of other staff users. An offline password-guessing attack against the hashes could lead to account takeover if successful, but [Device Verification](https://docs.ghost.org/security#device-verification) should have prevented an attacker from logging in with a recovered password. Depending on the database used, leaked hashes may not have had the correct casing for all characters, increasing the difficulty of a password-guessing attack.

### Vulnerable versions

This vulnerability is present in Ghost versions v6.54.0 and earlier.

### Patches

v6.54.1 contains a fix for this issue.

### How to update

For self-hosters using Docker, find [Docker's official Ghost image here](https://hub.docker.com/_/ghost). Updating a Docker-based Ghost instance [is documented here](https://docs.ghost.org/install/docker#updating-ghost).

If your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update).

### Workarounds

If upgrading immediately is not possible, ensure all staff users have [Multi-factor Authentication](https://docs.ghost.org/security#email-2fa) (MFA) enabled. This will help prevent an attacker from logging in with any passwords that are successfully recovered from the leaked hashes.

### References

Ghost thanks Chapman Schleiss for disclosing this vulnerability responsibly.

### For more information

If you have any questions or comments about this advisory, email us at [security@ghost.org](mailto:security@ghost.org).

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / ghost
Introduced in: 0 Fixed in: 6.54.1
Fix npm install ghost@6.54.1

References