Skip to content
Draft

jwt #45

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 52_jwt_tokens/.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
JWT_TOKEN=
1 change: 1 addition & 0 deletions 52_jwt_tokens/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
16 changes: 16 additions & 0 deletions 52_jwt_tokens/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# JWT

TODO:

* Play around with some vulnerable auth packages.

## JWT Algorithm Switching Vulnerability

```sh
. ./.env
echo ${JWT_TOKEN} | base64 -di
```

## Resources

* https://www.vaadata.com/blog/jwt-json-web-token-vulnerabilities-common-attacks-and-security-best-practices/