Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
4.8.2, 4.9.0
-
CP: sprint 125
-
5
-
Core: Platform
-
Lotus R1 2022
Description
Overview:
In an env where pre/post filter module is enabled (mod-aes for example), accessing API without permission is allowed.
Steps to Reproduce:
- Set up an env with pre/post filter module enabled (mod-aes-0.0.4 for example)
- Create a user with limited permissions and get x-okapi-token
- Use above token to access APIs that requires other permissions
- The first try will be denied with 403, but following tries will success
Expected Results:
API is protected by permissions
Actual Results:
API permission protection is void
Additional Information:
Disable token cache by setting token_cache_max_size to 0, or disable the pre/post filter module can prevent this security issue.