CVE-2021-39192
JSON

6.5medium

Privilege escalation: all users can access Admin-level API keys

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.02% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-j5c2-hm46-wp5cBIT-GHOST-2021-39192

Description

Ghost is a Node.js content management system. An error in the implementation of the limits service between versions 4.0.0 and 4.9.4 allows all authenticated users (including contributors) to view admin-level API keys via the integrations API endpoint, leading to a privilege escalation vulnerability. This issue is patched in Ghost version 4.10.0. As a workaround, disable all non-Administrator accounts to prevent API access. It is highly recommended to regenerate all API keys after patching or applying the workaround.

Affected

Product or packageVersionsReported by
TryGhost Ghost>= 4.0.0, < 4.10.0CVE List
ghost (npm)from 4.0.0 before 4.10.0GitHub Advisory Database
ghost ghostfrom 4.0.0 before 4.10.0NVD
ghost (Bitnami)from 4.0.0 before 4.10.0Bitnami Vulnerability Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

Ghost is a Node.js content management system. An error in the implementation of the limits service between versions 4.0.0 and 4.9.4 allows all authenticated users (including contributors) to view admin-level API keys via the integrations API endpoint, leading to a privilege escalation vulnerability. This issue is patched in Ghost version 4.10.0. As a workaround, disable all non-Administrator accounts to prevent API access. It is highly recommended to regenerate all API keys after patching or applying the workaround.

GitHub Advisory Database
Impact

An error in the implementation of the limits service in 4.0.0 allows all authenticated users (including contributors) to view admin-level API keys via the integrations API endpoint, leading to a privilege escalation vulnerability.

Ghost(Pro) has already been patched. Self-hosters are impacted if running Ghost a version between 4.0.0 and 4.9.4. Immediate action should be taken to secure your site - see patches & workarounds below.

It is highly recommended to regenerate all API keys after patching or applying the workaround below.

Patches

Fixed in 4.10.0, all 4.x sites should upgrade as soon as possible.

Workarounds
  • Disable all non-Administrator accounts to prevent API access.
For more information

If you have any questions or comments about this advisory:


Credits: Aden Yap Chuen Zhen, BAE Systems Applied Intelligence (Malaysia)

NVD (es)

Ghost es un sistema de administración de contenidos Node.js. Un error en la implementación del servicio de límites entre las versiones 4.0.0 y 4.9.4, permite a todos los usuarios autenticados (incluidos los colaboradores) visualizar las claves de la API a nivel de administrador por medio del endpoint de la API de integraciones, conllevando a una vulnerabilidad de escalada de privilegios. Este problema se ha corregido en la versión 4.10.0 de Ghost. Como solución, deshabilite todas las cuentas que no sean de administrador para prevenir el acceso a la API. Se recomienda encarecidamente regenerar todas las claves de la API después de aplicar el parche o la solución

References

Sources

SourceRecordLicence
CVE ListCVE-2021-39192 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-j5c2-hm46-wp5c changed 2026-07-08CC-BY-4.0
NVDCVE-2021-39192 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GHOST-2021-39192 changed 2026-09-08Apache-2.0