Hacking PyJWT for Algorithm Confusion Attack [HackTheBox CyberMonday] @0xdf
Hacking PyJWT for Algorithm Confusion Attack [HackTheBox CyberMonday]  @0xdf
Uploaded December 2023 | Updated November 2026, 3 hours ago
In the CyberMonday box from HackTheBox, the foothold involves exploiting an algorithm confusion attack against a JWT. When I went to sign the new JWT with the public key, PyJWT rejected me. In this video, we'll show the rejection, find the code responsible, and modify it to allow me to sign.

HackTheBox CyberMonday: hackthebox.com/machines/cybermonday
CyberMonday Blog Post: 0xdf.gitlab.io/2023/12/02/htb-cybermonday.html

☕ Buy Me A Coffee: buymeacoffee.com/0xdf

[00:00] Introduction
[02:16] Review public key
[02:38] Creating Virtual Environment
[04:17] Failure in Python Terminal
[08:10] Finding Responsible Code
[10:08] Modifying to Allow
[11:25] Conclusion

#pentest #ctf #bugbounty #python #pyjwt
Hacking PyJWT for Algorithm Confusion Attack [HackTheBox CyberMonday]Day 10: Pipe Maze [AOC2023 Python]Jumpio Adventure [HTB Stack Smash CTF]Reversal [HackTheBox - Coding Challenge](More) AWS CLI [Sans Holiday Hack 2022 - Cloud Ring]Playground [AOC2025 Day 8]Copy Fail Explained [CVE-2026-31431]LAN Party [Day 23 - Advent of Code 2024 - Python]Day 21: Step Counter [AOC2023 Python]Exploring Docker Registry Auth [HackTheBox RegistryTwo]Day 1 - No time for a Taxicab [Revival of Code 2023 - Advent of Code 2016]Python Directory Traversal Exploit [Yummy - HackTheBox]
0xdf |

Hacking PyJWT for Algorithm Confusion Attack [HackTheBox CyberMonday]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER