{"id":"GHSA-65p7-pjj8-ggmr","aliases":[],"url":"https://o3.security/vulnerability/GHSA-65p7-pjj8-ggmr","summary":"Member account takeover","details":"### Impact\n\nAn error in the implementation of the member email change functionality allows unauthenticated users to change the email address of arbitrary member accounts to one they control by crafting a request to the relevant API endpoint, and validating the new address via magic link sent to the new email address.\n\nGhost(Pro) has already been patched. Self-hosters are impacted if running Ghost a version between 3.18.0 and 4.15.0 with members functionality enabled.\n\n### Patches\n\nFixed in 4.15.1, all 4.x sites should upgrade as soon as possible.\nFixed in 3.42.6, all 3.x sites should upgrade as soon as possible.\n\n### Workarounds\n\nThe patch in 4.15.1 and 3.42.6 adds a new authenticated endpoint for updating member email addresses. Updating Ghost is the quickest complete solution.\n\nAs a workaround, if for any reason you cannot update your Ghost instance, you can block the `POST /members/api/send-magic-link/` endpoint, which will also disable member login and signup for your site.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Email us at [security@ghost.org](mailto:security@ghost.org)\n","published":"2021-09-23T23:18:42Z","modified":"2021-09-23T21:14:22Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"ghost","fixedVersion":"3.42.6"},{"ecosystem":"npm","name":"ghost","fixedVersion":"4.15.1"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-65p7-pjj8-ggmr"},{"type":"PACKAGE","url":"https://github.com/TryGhost/Ghost"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2021-09-23T21:14:22Z"}}