uaa
uaa copied to clipboard
UAA has no protection against misuse/overuse of the API endpoints
How are you deploying the UAA?
I am deploying the UAA
- using cf-release
What did you do?
Load tests against REST APIs, e.g. /oauth/token with an high amount of requests. This should simulate misuse/overuse of the API endpoints (e.g. by bots/scripts)
What did you expect to see? What goal are you trying to achieve with the UAA?
Some protection mechanism like rate limiting which ensures that the UAA only processes requests up to a certain threshold. All requests above the threshold are not processed. With such a mechanism it is ensured that the UAA still behaves as expected for all other users/applications that behave "normal".
What did you see instead?
UAA tries to process all requests without applying any protection mechanism. This means that UAA is vulnerable against misuse/overuse of the API endpoints.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/182916607
The labels on this github issue will be updated when the story is started.
We are trying to write automated performance and load tests for the UAA, which should help catching potential issues like the one described here.