How many green tests does it take to believe a protection works? We have about two thousand, and they pass on three databases. A person still found the hole: an outside researcher who worked through our server and saw a connection where we had seen none.
This is the story of GHSA-vmj2-8phj-mfxf in redb.Identity, our OAuth 2.1 / OpenID Connect server for .NET. In order and with dates: what was broken, why we did not see it ourselves, how we fixed it and how we disclosed it.
The report
On 4 November a private report on version 4.6.1 came in. Its author, Rathnadeepan (HotWater, HotWater-015 on GitHub), did not open a public issue or write a blog post about it. He wrote to us directly and left us time to fix it.
We checked the report against the source the same day. It was all true.
DPoP in two paragraphs
A plain access token is accepted from anyone who presents it. If it is stolen from a log, a proxy or an intermediate node, it can be used.…