Question 680
An enterprise is still failing to satisfy this requirement: An internal API returns detailed stack traces and internal credentials when database authentication fails. Which underlying gap must be corrected before this risk is treated?
Explanation
Correct Answer
The appropriate security response is: Make error handling fail closed and suppress sensitive diagnostic output in user-facing responses. Secure failure paths must not disclose secrets or weaken authorization. The corrected outcome is: Negative tests return controlled errors without secrets and sensitive diagnostics remain restricted to authorized logs.
Incorrect Answers
“Application exposure was treated as sufficient trust for privileged operations” addresses an adjacent control. The reported case is: An enterprise is still failing to satisfy this requirement: An internal API returns detailed stack traces and internal credentials when database authentication fails. The case-matched answer is “Exception handling exposed privileged internals during abnormal operation”.
“Nonconstant comparison paths leaked secret-dependent execution timing” addresses an adjacent control. The reported case is: An enterprise is still failing to satisfy this requirement: An internal API returns detailed stack traces and internal credentials when database authentication fails. The case-matched answer is “Exception handling exposed privileged internals during abnormal operation”.
“Control selection ignored nonconfidentiality requirements and created an avoidable outage dependency” addresses an adjacent control. The reported case is: An enterprise is still failing to satisfy this requirement: An internal API returns detailed stack traces and internal credentials when database authentication fails. The case-matched answer is “Exception handling exposed privileged internals during abnormal operation”.