Consul gem insufficient authentication check - Multiple powers in one controller are not always checked correctly
Critical severity
GitHub Reviewed
Published
Sep 27, 2019
to the GitHub Advisory Database
•
Updated Aug 29, 2023
Description
Published by the National Vulnerability Database
Sep 23, 2019
Reviewed
Sep 25, 2019
Published to the GitHub Advisory Database
Sep 27, 2019
Last updated
Aug 29, 2023
With the consul ruby gem before 1.0.3, if a controller checks multiple powers using
:if
or:except
conditions, these conditions are erroneously applied to all power checks in that controller. This can lead to skipped power checks and hence unauthenticated access to certain controller actions.References