Juice-shop: JWT alg="none" challenge needs updating

Created on 24 Jul 2018  路  8Comments  路  Source: bkimminich/juice-shop

The solution for the JWT challenge must be updated, and the challenge itself should be reviewed, due to changes in jwt.io

  • There is no longer a bug in the site that calls for manual change of "S" to "I" as described in solution
  • "none" does no longer work when entered into the decoded fields in jwt.io, it wil invalidate the encoded output and leave it blank
challenge documentation

Most helpful comment

Thanks. This is a more a problem with the way we described the solution, i.e. reliance on using JWT.io, The challenge itself I think is still completely valid and doesn't need changing.

I think the best fix would be to update the solution to not require jwt.io, e.g. write some simple custom code to show how to create the manipulated JWTs.

I will see if I can find time to do that but it will probably only be in a few weeks.

All 8 comments

Thanks for reporting this! I'm not sure if we could just get away with increasing the difficulty, because the attacker now has to craft the JWT somewhere else...

@ViktorLindstrm @J12934 You are the official JWT consultants of the Juice Shop, what do you think? Should we keep the challenge and just give it +1 difficulty star?

I'm getting falsely classified as a JWT expert here 馃槄
I don't think I ever did anything JWT related for juice-shop, sure you didn't mean @tghosth?

Thanks @J12934 :)

Hi @mjaaland , thanks for noticing this, can you remind me where you saw this, comment with a link or something :)

Thanks. This is a more a problem with the way we described the solution, i.e. reliance on using JWT.io, The challenge itself I think is still completely valid and doesn't need changing.

I think the best fix would be to update the solution to not require jwt.io, e.g. write some simple custom code to show how to create the manipulated JWTs.

I will see if I can find time to do that but it will probably only be in a few weeks.

I agree to all inputs here, you could up the challenge in difficulty, or find a similar online based tool like jwt.io (and perhaps point to it in the hints?).

Good job to all of you, this app is awesome. I am using it in some training workshops nowdays.

This thread has been automatically locked because it has not had recent activity after it was closed. :lock: Please open a new issue for regressions or related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bkimminich picture bkimminich  路  5Comments

bkimminich picture bkimminich  路  5Comments

bkimminich picture bkimminich  路  8Comments

sushi2k picture sushi2k  路  5Comments

bkimminich picture bkimminich  路  4Comments