Hacking PyJWT for Algorithm Confusion Attack [HackTheBox CyberMonday]

Published: 02 December 2023
on channel: 0xdf
986
44

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: https://www.hackthebox.com/machines/c...
CyberMonday Blog Post: https://0xdf.gitlab.io/2023/12/02/htb...

☕ Buy Me A Coffee: https://www.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


On this page of the site you can watch the video online Hacking PyJWT for Algorithm Confusion Attack [HackTheBox CyberMonday] with a duration of hours minute second in good quality, which was uploaded by the user 0xdf 02 December 2023, share the link with friends and acquaintances, this video has already been watched 986 times on youtube and it was liked by 44 viewers. Enjoy your viewing!