Quick JWT Security Challenge - Can You Spot the Risk?

x32x01
  • by x32x01 ||
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
96
x32x01
x32x01
x32x01
Replies
0
Views
120
x32x01
x32x01
x32x01
Replies
0
Views
104
x32x01
x32x01
x32x01
Replies
0
Views
135
x32x01
x32x01
x32x01
Replies
0
Views
109
x32x01
x32x01
Forum Statistics
Threads
1,139
Messages
1,145
Members
16
Latest Member
b_a_s_m_a_l_a7
Back
Top