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

PAM authorization bypass due to incorrect usage #2449

Open
lujiefsi opened this issue Nov 11, 2022 · 0 comments
Open

PAM authorization bypass due to incorrect usage #2449

lujiefsi opened this issue Nov 11, 2022 · 0 comments

Comments

@lujiefsi
Copy link

While i read code at https://github.com/web2py/web2py/blob/master/gluon/contrib/pam.py#L124

I found that we only do authenticate without authorization, i.e. without calling pam_acct_mgmt. This can make expired accounts and accounts with expired passwords can still login.

More details: https://codeql.github.com/codeql-query-help/python/py-pam-auth-bypass/

Please let me know if I have missed any key details.

Impact:
This can make expired accounts and accounts with expired passwords can still login.

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

No branches or pull requests

1 participant