Re:Taking over Azure DevOps accounts with one click
by dividuum on Thursday July 02, 2020 @05:47AM
(#23711560)
It's highly recommended to not allow wildcards in the redirect_to values within OAuth2 for that reason: It's just too easy to create flaws like this one. Additionally on https://docs.microsoft.com/en-us/azure/active-directory/deve..., Microsoft itself recommends to avoid them: "Wildcard URIs, such as https://*.contoso.com, are convenient but should be avoided. Using wildcards in the redirect URI has security implications."
[ Parent
| on HN ]
Re:Taking over Azure DevOps accounts with one click
by Timshel on Thursday July 02, 2020 @07:45AM
(#23712120)
What's really WTF for me is :
"We found that we could exchange the stolen authentication token for a Bearer token through app.vsaex.visualstudio.com"
For me this exchange should always require an additional secret they should not have access to (exception would be for an app where securing the secret is not trivial, but not the case here I believe).
Re:Taking over Azure DevOps accounts with one click
by donmcronald on Thursday July 02, 2020 @05:57AM
(#23711604)
That’s why I said I was surprised. I just can’t understand how anyone, let alone what I assume is a team, could write auth code without reading the spec to see what every parameter does. Even if you weren’t paying attention I feel like you shouldn’t miss that one, right?
Is that full stack overflow development where some one is copying and pasting things they don’t understand?
Re:Taking over Azure DevOps accounts with one click
by user5994461 on Thursday July 02, 2020 @06:01AM
(#23711633)
The recommendation is ignoring the reality of the world. How can developers handle authentication when authentication is not allowed on their company domains?
Measures like filtering/whitelisting are always pushed back in my experience because it's legitimately preventing developers to support authentication.