Question 280
At fictional Juniper Creek Transit, a software-security team is conducting a DevSecOps security control gate within a practical least-privilege design. The case observation is: A password recovery flow reveals whether an account exists and accepts a reusable reset token without expiration. 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
Recovery functions are alternate authentication entry points requiring protections comparable to primary sign-in. Enumeration attempts disclose no account-state difference and used or expired tokens cannot reset a password.
Incorrect Answers
This response concerns server side object authorization. Here, a password recovery flow reveals whether an account exists and accepts a reusable reset token without expiration. The confirming evidence is: Enumeration attempts disclose no account-state difference and used or expired tokens cannot reset a password.
Oauth scope overreach concerns a different operational mechanism. Recovery functions are alternate authentication entry points requiring protections comparable to primary sign-in.
Focusing on privilege escalation by role flags would leave this problem unresolved: A password recovery flow reveals whether an account exists and accepts a reusable reset token without expiration.