Question 260
At fictional Zephyrcloud Studio, a software-security team is conducting a secure acquisition and deployment review without interrupting essential service availability. The case observation is: A web admin console hides advanced actions unless a client-provided role flag is set, but the API trusts that flag. The team must select a defensible control or assessment. Which repeatable engineering safeguard would most directly reduce recurrence?
Explanation
Writer-proposed answer: D (UNVERIFIED)
Preliminary individual option explanations — NOT expert validated
Correct Answer
Authorization cannot depend on user-controlled role declarations or presentation-layer restrictions. Direct forged API requests fail without the required server-side role, and role revocation takes effect promptly.
Incorrect Answers
This response concerns service account least privilege. Here, a web admin console hides advanced actions unless a client-provided role flag is set, but the API trusts that flag. The confirming evidence is: Direct forged API requests fail without the required server-side role, and role revocation takes effect promptly.
Mfa recovery gap concerns a different operational mechanism. Authorization cannot depend on user-controlled role declarations or presentation-layer restrictions.
Focusing on server side object authorization would leave this problem unresolved: A web admin console hides advanced actions unless a client-provided role flag is set, but the API trusts that flag.