Quick JWT Security Challenge - Can You Spot the Risk?

x32x01
  • by x32x01 ||
  • #1
While testing a web app, you find an endpoint that accepts a JWT in the Authorization header.
The server verifies tokens but does not enforce the alg value from a trusted list, and you notice a token signed with alg: "HS256".
You try changing the token header to alg: "none", and the server accepts it.

What’s the most serious impact an attacker could achieve from this vulnerability?

Options

  1. Steal users’ plain-text passwords from the database
  2. Forge tokens to impersonate an admin account and gain full app access
  3. Trigger server-side Remote Code Execution (RCE) immediately
  4. Cause a Denial of Service (DoS) by flooding token verification requests

Comment your answer below 👇
 
Similar threads
x32x01
Replies
0
Views
9
x32x01
x32x01
x32x01
Replies
0
Views
14
x32x01
x32x01
x32x01
Replies
0
Views
34
x32x01
x32x01
x32x01
Replies
0
Views
12
x32x01
x32x01
x32x01
Replies
0
Views
7
x32x01
x32x01
Forum Statistics
Threads
807
Messages
811
Members
13
Latest Member
Mostafa
Back
Top