Question 30
At Oceanview Payments, a team reports that it corrected the following problem affecting regulated payments and credentialed access: A web service builds filesystem paths directly from user-controlled filenames so clients can request parent directories. Which observation BEST verifies that the correction actually worked?
Explanation
Correct Answer
Encoded and plain traversal probes cannot read files outside the approved directory. This is the decisive evidence for the original problem: A web service builds filesystem paths directly from user-controlled filenames so clients can request parent directories. It verifies that the intended corrective control—Normalize and restrict paths to an authorized root and deny traversal outside the allowed file set—works in the relevant environment; a completed change ticket alone would not prove the outcome at Oceanview Payments.
Incorrect Answers
Repository scans find no active secret and only authorized workloads retrieve the replacement. This would be relevant evidence for a different failure: Developers embed a privileged service password in a public source repository, usually addressed by Revoke the exposed secret, move credentials to a protected secret store, and enforce automated secret scanning. It does not demonstrate that the current problem at Oceanview Payments was resolved. The specific required evidence is: Encoded and plain traversal probes cannot read files outside the approved directory.
A forged cross-origin request is rejected while the legitimate authenticated workflow succeeds. This would be relevant evidence for a different failure: A cookie-authenticated application accepts an account change request from another origin without an anti-forgery check, usually addressed by Require CSRF protection and validate origin and same-site cookie policy for state-changing operations. It does not demonstrate that the current problem at Oceanview Payments was resolved. The specific required evidence is: Encoded and plain traversal probes cannot read files outside the approved directory.
Asset inventory and version checks show the affected vulnerable component was remediated. This would be relevant evidence for a different failure: An appliance runs software with a published high-impact CVE that affects its exposed management interface, usually addressed by Validate the product-specific advisory and remediate according to exposure and severity using an approved patch window. It does not demonstrate that the current problem at Oceanview Payments was resolved. The specific required evidence is: Encoded and plain traversal probes cannot read files outside the approved directory.