Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

More Burp 2 Beta API Key Issues

Seth Jackson Dec 06, 2018 02:29PM UTC

When "Allow access without API key" is enabled if an invalid API key is used the API does not return an "Unauthorized" error message or the proper HTTP status code.

For example if a valid API key is "valid" and the API key "test" does not exist:

GET http://127.0.0.1:1337/valid/v0.1/knowledge_base/issue_definitions

will return the issue definitions while:

GET http://127.0.0.1:1337/test/v0.1/knowledge_base/issue_definitions

will return:

400
"Invalid API version"

it should return:

401
"Unauthorized"

If the "Allow access without an API key" option is disabled the API will return:

401
"Unauthorized"

for bad keys as expected.


Paul Johnston Dec 06, 2018 03:51PM UTC Support Center agent

Thanks for letting us know about this. We’ll investigate including a fix in a future beta.


Post Your public answer

Your name
Your email address
Answer