← 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?
- A.Asha became admin
- B.It was ignored because role is not in the EDITABLE allow-list
- C.The request failed
- 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 →