GHSA-354h-gmhv-mr9c: SSRF
Impact
An SSRF vulnerability in the webhooks feature allowed staff users to probe internal hosts from the Ghost server.
Vulnerable versions
This vulnerability is present in Ghost from v1.18.0 up to v6.27.0.
Patches
v6.27.0 contains a fix for this issue.
How to update
For self-hosters using Docker, find Docker's official Ghost image here. Updating a Docker-based Ghost instance is documented here.
If your Ghost is a Ghost-CLI install see our documentation on updating it to the latest version here.
References
Ghost thanks 0xkakash1, rooks00, l3tchupkt, Wernerina, krn0@bugcrowdninja.com, and Mohamed Bassia for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email us at security@ghost.org.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/ghostto a version that resolves this vulnerability.Fixed in 6.27.0 - Upgrade
Upgrade
Ghostto a version that resolves this vulnerability.Fixed in 6.27.0
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs staff-user access to the Ghost webhooks feature. The vulnerability allows that user to cause the Ghost server to probe internal hosts.
Which deployments need remediation?
Ghost versions from v1.18.0 up to v6.27.0 are identified as vulnerable. Version 6.27.0 contains the fix.
How should self-hosted instances be updated?
Docker-based deployments should update the official Ghost image using the documented Docker update process. Ghost-CLI installations should use the documented Ghost update process to move to the latest version.