CVE-2024-34082
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.04%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 9.9 CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 3.04% probability · 87th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-269
- Affected
- getgrav/grav
- Source
- security-advisories@github.com
References
- https://github.com/getgrav/grav/commit/b6bba9eb99bf8cb55b8fa8d23f18873ca594e348Patch
- https://github.com/getgrav/grav/security/advisories/GHSA-f8v5-jmfh-pr69Exploit, Vendor Advisory
- https://github.com/getgrav/grav/commit/b6bba9eb99bf8cb55b8fa8d23f18873ca594e348Patch
- https://github.com/getgrav/grav/security/advisories/GHSA-f8v5-jmfh-pr69Exploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.