Skip to main content
Menu
Advisories

OAuth 2.0 Analysis with Oauch

GHSA-HH34-7JQQ-3F73Published Updated GitHub

Description

I run github.com/DistriNet/OAuch against my instance of kanidm (v1.10.3, NixOS 25.11), and it suggested some mitigation measures. Here are some of them:

Details

See the PDF attached. The localhost links are available on oauch.io/Tests as well. Site results - OAuch.pdf

PoC

Clone github.com/DistriNet/OAuch, apply the patch github.com/DistriNet/OAuch/pull/10 and build the container:

cd src/OAuch
podman build -t oauch .

Start the container

podman run -p 8443:443 -v ./db:/db oauch:latest

Visit https://localhost:8433 and add a "site" (I used an internet reachable kanidm instance, to ensure container access to the idm). Follow the steps to configure the client. Click Run test set and follow what appears in the PopUp:

  • when a kanidm error appear, click Stall test in the main window

Impact

I am not knowledgeable enough to assess the impact. Feel free to make this report public if you think that it does not deserve secrecy.

Affected versions

References

GitHub · kanidm/kanidm