Skip to main content

Improper Privilege Management

CVE-2024-34082

Severity High
Score 9.9/10

Summary

Grav is a file-based Web platform. 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 a hashed user password, 2FA secret, and the password reset token. This can allow an adversary to compromise any registered account and read any file on 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. This vulnerability affects getgrav/grav package versions prior to 1.7.46.

  • LOW
  • NETWORK
  • HIGH
  • CHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

CWE-269 - Improper Privilege Management

An effective privilege management infrastructure provides valid users with required access and privileges across heterogeneous technology environments. An application with a faulty privilege management infrastructure allows higher than authorized privileges or enables privilege escalation. This can lead to security incidents such as system infiltration, data breach, and complete system takeover.

Advisory Timeline

  • Published