-
Notifications
You must be signed in to change notification settings - Fork 487
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
jwt密钥泄露导致越权 #354
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
默认开启了django的debug功能导致jwt密钥泄露
![1](https://private-user-images.githubusercontent.com/114380989/316292799-726d37a6-c8c1-4227-afa5-42f77f51cb34.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTQ1MjYsIm5iZiI6MTcxOTE5NDIyNiwicGF0aCI6Ii8xMTQzODA5ODkvMzE2MjkyNzk5LTcyNmQzN2E2LWM4YzEtNDIyNy1hZmE1LTQyZjc3ZjUxY2IzNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNFQwMTU3MDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NGVkZDkyZDViOTQ5NmMzMmE1MWQxZjc5MDM3ZDJkODExZDBiZTliNTZjZDcxYWY0NTQ2ZDg0NWVhOTE2Yjk4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.KkzWZk8jRQYWyivyBBIwPvrBMJ6l1rsO9jdep4qr_v4)
替换cookie就拿到了管理员权限
处置措施:关闭django debug功能
The text was updated successfully, but these errors were encountered: