Technical impact
Grav CMS versions from 2.0.0 through and includingup to 2.2.18 contain a password‑reset poisoning flaw that lets an unauthenticated attacker forge the CloudFront-Forwarded-Proto header in a password‑reset request. The forged header causes the CMS to generate a reset link that points to an attacker‑controlled host. When the user follows the link, the password‑reset token is sent to the attacker, who can then finalize the reset and take full control of the victim’s account, including super‑administrator accounts. The vulnerability is a session‑management weakness (CWE‑348) that compromises the confidentiality and integrity of user credentials and can lead to system‑wide compromise.
Affected Systems
This flaw affects the Grav content management system distributed from getgrav, specifically all releases from 2.0.0 up to, but not including, version 2.2.18. Users that rely on Amazon CloudFront to forward headers are at risk because the CMS accepts the CloudFront‑Forwarded‑Proto header without strict validation.
Risk and Exploitability
The CVSS v3.1 score of 8.7 classifies the flaw as high severity. EPSS data are not available, and the vulnerability is not listed in CISA’s KEV catalog, but the attack can still be executed remotely over the public internet by sending a crafted password‑reset request and then phishing the user with a rogue link. The attack vector is inferred to be remote, originating from the HTTP header manipulation performed by the CMS.