{"id":"CVE-2024-34082","published":"2024-05-15T16:42:19Z","modified":"2024-08-02T02:42:59Z","title":"Grav Arbitrary File Read to Account Takeover","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"Grav is a file-based Web platform. Prior to version 1.7.46, a low privilege user account with page edit privilege can read any server files using Twig Syntax. This includes Grav user account files - `/grav/user/accounts/*.yaml`. This file stores hashed user password, 2FA secret, and the password reset token. This can allow an adversary to compromise any registered account and read any file in the web server by resetting a password for a user to get access to the password reset token from the file or by cracking the hashed password. A low privileged user may also perform a full account takeover of other registered users including Administrators. Version 1.7.46 contains a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03071,"percentile":0.87962,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-f8v5-jmfh-pr69","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/b6bba9eb99bf8cb55b8fa8d23f18873ca594e348","tags":["x_refsource_MISC"]}],"priority":{"score":23.5,"factors":[{"name":"EPSS percentile","points":17.59},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.7.46"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-05-15T19:34:23.433554Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.7.46"],"patched":["1.7.46"],"from":["GHSA-f8v5-jmfh-pr69"],"provenance":"source"}],"summary":{"text":"Grav, a file-based web platform from getgrav, contains a flaw in its Twig template handling that lets a user with page edit privileges read arbitrary server files, including account files under /grav/user/accounts/. An attacker with network access and only low-privilege authenticated access, requiring no user interaction, can use this to obtain password hashes, 2FA secrets and password reset tokens, and thereby take over other accounts, including administrator accounts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:58Z"},"euvd":{"id":"EUVD-2024-1596","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-28117","published":"2024-03-21","fixed":"1.7.45","kev":false},{"cve":"CVE-2024-28118","published":"2024-03-21","fixed":"1.7.45","kev":false},{"cve":"CVE-2024-28119","published":"2024-03-21","fixed":"1.7.45","kev":false},{"cve":"CVE-2024-34082","published":"2024-05-15","fixed":"1.7.46","kev":false},{"cve":"CVE-2026-44737","published":"2026-05-11","fixed":"1.7.49.5","kev":false,"link":{"from":"CVE-2024-34082","to":"CVE-2026-44737","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getgrav/grav","fromFixed":"1.7.46","toFixed":"1.7.49.5","daysApart":726}]}},{"cve":"CVE-2026-55885","published":"2026-07-10","fixed":"1.7.53","kev":false},{"cve":"CVE-2025-66294","published":"2025-12-01","fixed":"1.8.0-beta.27","kev":false}],"package":"Packagist:getgrav/grav"}}