Menu

The tests were green, a person found the hole: a vulnerability in our OpenID server, start to finish
📰

The tests were green, a person found the hole: a vulnerability in our OpenID server, start to finish

DEV Community: dotnet·rinat kozin·13 days ago
#vKR8k3pV
#devtodotnet#devto#dev#s256#token
Long article (1778 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.