Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using PAP with a configured RADIUS password results in Access-Accept for any value #704

Open
xorrkaz opened this issue Nov 7, 2022 · 0 comments

Comments

@xorrkaz
Copy link

xorrkaz commented Nov 7, 2022

Describe the bug
I'm using v1.3.8 of the plugin with KC 16.1.0, and if I configure a user to have a RADIUS password and I try and authentication as that user, I can specify any password and I get an Access-Accept. If I use CHAP or if I delete the RADIUS password (thus using the user's Keycloak password) I get expected behavior (i.e., only the correct password results in an Access-Accept).

I've tried 19 and the 1.4.8 of the plugin, but then I run into issue #698.

To Reproduce
Steps to reproduce the behavior:

  1. Configure a user in a realm in Keycloak
  2. Make them set a RADIUS password
  3. Authenticate as that user using the wrong password and the PAP protocol
  4. See that the user gets an Access-Accept

Expected behavior
I expect to get an Access-Reject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant