2 matches found
Exposure Of Sensitive Information
Grav is vulnerable to Exposure of Sensitive Information The vulnerability is due to insufficient field filtering in the allow-listed offsetGet and offsetExists methods for User objects, which allows an attacker with page-edit permissions to access sensitive fields such as password hashes and 2FA...
Grav: UserInterface offsetget/offsetexists allow-listed in Twig sandbox let editor-authored content leak hashed_password and 2FA secrets via offsetGet()
Summary system/config/security.yaml's Twig sandbox policy allow-lists offsetget and offsetexists for Grav\Common\User\Interfaces\UserInterface. The concrete Grav\Common\User\DataUser\User class does not filter which fields offsetGet returns, so any sandboxed template with access to a User object...