🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Broken Access Control: all 10 questions

Quiz: Broken Access Control · Question 3 of 10

In the mass-assignment demo, what happened to the "role" field sent by the attacker?

In the mass-assignment demo, what happened to the "role" field sent by the attacker?

  1. A.Asha became admin
  2. B.It was ignored because role is not in the EDITABLE allow-list
  3. C.The request failed
  4. D.xp was set to 999999
Answer & explanation

Correct answer: It was ignored because role is not in the EDITABLE allow-list

Only name, college and bio can change; role and xp stay as they were.

Can you get the rest right without peeking?

Take the timed Quiz: Broken Access Control quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →