Skip to content

ghost vulnerable to unauthorized newsletter modification via improper access controls

High severity GitHub Reviewed Published Nov 28, 2022 in TryGhost/Ghost • Updated Jan 29, 2023

Package

npm ghost (npm)

Affected versions

>= 5.0.0, < 5.22.7
>= 4.46.0, < 4.48.8

Patched versions

5.22.7
4.48.8

Description

Impact

On sites where members is enabled (this is the default) it is possible for members (unprivileged users) to make changes to newsletter settings. This gives unprivileged users the ability to view and change settings they were not intended to have access to. They are not able to escalate their privileges permanently or get access to further information. This issue was caused by a gap in our API validation for nested objects.

Ghost(Pro) has already been patched. We 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 between v4.46.0 and v4.48.7 or any version of v5 prior to v5.22.7. Immediate action should be taken to secure your site - see patches & workarounds below.

Patches

  • v4.48.8 / v5.22.7 are patched for all known exploits.
  • v4.48.9 / v5.24.1 contain deeper fixes to the API to close the potential for this vulnerability to appear elsewhere or regress

Workarounds

The known exploit can be prevented by disabling members until an update can be performed.

References

For more information

If you have any questions or comments about this advisory:


Credits: Dave McDaniel and other members of Cisco Talos

References

@ErisDS ErisDS published to TryGhost/Ghost Nov 28, 2022
Published to the GitHub Advisory Database Nov 28, 2022
Reviewed Nov 28, 2022
Published by the National Vulnerability Database Dec 22, 2022
Last updated Jan 29, 2023

Severity

High
8.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N

Weaknesses

CVE ID

CVE-2022-41654

GHSA ID

GHSA-9gh8-wp53-ccc6

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.