Tyk Gateways Allows Invalid 3 Character Authorization Tokens #1681
Description
Do you want to request a feature or report a bug?
This is a bug
What is the current behavior?
Any API using Authorization header with Tyk AuthToken (key) that has an access list (not using Profile) lets all requests through that have 3 charactors or less in the Authorization header
What is the expected behavior?
Obviously these are not valid keys and should be blocked.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Create an API, Create a Key for the API, make a request to the API with any 3 character combination. Now try a 4 charactor combination
Which versions of Tyk affected by this issue? Did this work in previous versions of Tyk?
We saw this in Gateway version 2.3.5 through 2.6.1