McAfee-Secured Website

Exam Bundle

Exam Code: 312-50v13

Exam Name Certified Ethical Hacker v13

Certification Provider: ECCouncil

Corresponding Certification: CEH

ECCouncil 312-50v13 Bundle $19.99

100% ECCouncil 312-50v13 Guaranteed Success With Testking Training Materials

Get Real 312-50v13 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    312-50v13 Questions & Answers

    1436 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual 312-50v13 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • Study Guide

    312-50v13 Study Guide

    2540 PDF Pages

    Developed by industry experts, this 2540-page guide spells out in painstaking detail all of the information you need to ace 312-50v13 exam.

Certified Ethical Hacker v13 (312-50v13) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $154.98
Bundle Price: $134.99

Purchase Individually

  • Questions & Answers

    Questions & Answers

    1436 Questions

    $124.99
  • Study Guide

    Study Guide

    2540 PDF Pages

    $29.99

ECCouncil 312-50v13 Practice Test 56

Question 550

At Brookside Manufacturing, the industrial security team is conducting a plant safety and IT security assessment under requirements for production continuity and controlled test windows. An independent validation is requested for the original problem: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. Which result BEST demonstrates successful remediation?

  1. Altering the hidden field cannot approve an invoice and authorized approvers continue working.
  2. An ordinary user's attempted role change is ignored or rejected and administrative role updates remain auditable.
  3. A completed reset consumes the token and attempts to reuse or expire it fail safely.
  4. A crafted external redirect is rejected while safe application routes work as intended.

Explanation

Correct Answer

C:

A completed reset consumes the token and attempts to reuse or expire it fail safely. The observable result demonstrates that the documented condition, An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. has been addressed. The planned remediation is: Use short-lived single-use reset tokens, securely verify ownership, and invalidate prior tokens on password change. This is a stronger validation than a saved ticket or unverified claim by Brookside Manufacturing.

Incorrect Answers

A:

Altering the hidden field cannot approve an invoice and authorized approvers continue working. That observation would verify another scenario: A web application uses a hidden HTML form field to decide whether a requester may approve an invoice. The corrective step for that other scenario is: Enforce the authorization decision on the server using the caller's identity and object rights. But Brookside Manufacturing is evaluating: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. The necessary outcome is: A completed reset consumes the token and attempts to reuse or expire it fail safely.

B:

An ordinary user's attempted role change is ignored or rejected and administrative role updates remain auditable. That observation would verify another scenario: A public API accepts a client-provided role value and writes it to a user profile without server-side field restrictions. The corrective step for that other scenario is: Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows. But Brookside Manufacturing is evaluating: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. The necessary outcome is: A completed reset consumes the token and attempts to reuse or expire it fail safely.

D:

A crafted external redirect is rejected while safe application routes work as intended. That observation would verify another scenario: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The corrective step for that other scenario is: Validate post-login destinations against a trusted relative-path or allowed-origin policy. But Brookside Manufacturing is evaluating: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. The necessary outcome is: A completed reset consumes the token and attempts to reuse or expire it fail safely.

Question 551

At Juniper Media, the digital-platform security team is conducting a scoped content-delivery assessment under requirements for rights enforcement and safe media workflows. The authorized review identifies: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. Which action BEST addresses the documented security gap?

  1. Add a server-validated anti-CSRF mechanism and appropriate SameSite cookie policy for the session model.
  2. Use short-lived single-use reset tokens, securely verify ownership, and invalidate prior tokens on password change.
  3. Resolve download resources through scoped identifiers and a fixed allowlisted storage location.
  4. Enforce the authorization decision on the server using the caller's identity and object rights.

Explanation

Correct Answer

B:

Use short-lived single-use reset tokens, securely verify ownership, and invalidate prior tokens on password change. This directly addresses the authorized assessment finding: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. The Juniper Media team should verify the outcome rather than treat a configuration edit as proof. Acceptance evidence: A completed reset consumes the token and attempts to reuse or expire it fail safely.

Incorrect Answers

A:

Add a server-validated anti-CSRF mechanism and appropriate SameSite cookie policy for the session model. This is an appropriate control for a different issue: A state-changing account setting endpoint accepts authenticated cross-site requests without checking request origin or CSRF defenses. The Juniper Media finding instead concerns: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. It does not demonstrate the required correction. The decisive test remains: A completed reset consumes the token and attempts to reuse or expire it fail safely.

C:

Resolve download resources through scoped identifiers and a fixed allowlisted storage location. This is an appropriate control for a different issue: A report download endpoint accepts an arbitrary server path and returns files outside the approved reports directory. The Juniper Media finding instead concerns: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. It does not demonstrate the required correction. The decisive test remains: A completed reset consumes the token and attempts to reuse or expire it fail safely.

D:

Enforce the authorization decision on the server using the caller's identity and object rights. This is an appropriate control for a different issue: A web application uses a hidden HTML form field to decide whether a requester may approve an invoice. The Juniper Media finding instead concerns: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. It does not demonstrate the required correction. The decisive test remains: A completed reset consumes the token and attempts to reuse or expire it fail safely.

Question 552

At Juniper Media, the digital-platform security team is conducting a scoped content-delivery assessment under requirements for rights enforcement and safe media workflows. Following the approved correction, auditors require proof that: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. Which result BEST demonstrates successful remediation?

  1. A completed reset consumes the token and attempts to reuse or expire it fail safely.
  2. A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.
  3. A crafted external redirect is rejected while safe application routes work as intended.
  4. An ordinary user's attempted role change is ignored or rejected and administrative role updates remain auditable.

Explanation

Correct Answer

A:

A completed reset consumes the token and attempts to reuse or expire it fail safely. The observable result demonstrates that the documented condition, An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. has been addressed. The planned remediation is: Use short-lived single-use reset tokens, securely verify ownership, and invalidate prior tokens on password change. This is a stronger validation than a saved ticket or unverified claim by Juniper Media.

Incorrect Answers

B:

A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners. That observation would verify another scenario: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The corrective step for that other scenario is: Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions. But Juniper Media is evaluating: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. The necessary outcome is: A completed reset consumes the token and attempts to reuse or expire it fail safely.

C:

A crafted external redirect is rejected while safe application routes work as intended. That observation would verify another scenario: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The corrective step for that other scenario is: Validate post-login destinations against a trusted relative-path or allowed-origin policy. But Juniper Media is evaluating: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. The necessary outcome is: A completed reset consumes the token and attempts to reuse or expire it fail safely.

D:

An ordinary user's attempted role change is ignored or rejected and administrative role updates remain auditable. That observation would verify another scenario: A public API accepts a client-provided role value and writes it to a user profile without server-side field restrictions. The corrective step for that other scenario is: Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows. But Juniper Media is evaluating: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. The necessary outcome is: A completed reset consumes the token and attempts to reuse or expire it fail safely.

Question 553

At Highland Education, the training platform security team is conducting a permitted education-cloud audit under requirements for identity integrity and uninterrupted classes. Assessors report the following documented condition: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. Which action BEST addresses the documented security gap?

  1. Encode untrusted content for the output context and use reviewed templates and browser controls.
  2. Add a server-validated anti-CSRF mechanism and appropriate SameSite cookie policy for the session model.
  3. Validate post-login destinations against a trusted relative-path or allowed-origin policy.
  4. Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows.

Explanation

Correct Answer

C:

Validate post-login destinations against a trusted relative-path or allowed-origin policy. This directly addresses the authorized assessment finding: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The Highland Education team should verify the outcome rather than treat a configuration edit as proof. Acceptance evidence: A crafted external redirect is rejected while safe application routes work as intended.

Incorrect Answers

A:

Encode untrusted content for the output context and use reviewed templates and browser controls. This is an appropriate control for a different issue: A browser application reflects user-submitted comments into HTML without context-appropriate output encoding. The Highland Education finding instead concerns: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. It does not demonstrate the required correction. The decisive test remains: A crafted external redirect is rejected while safe application routes work as intended.

B:

Add a server-validated anti-CSRF mechanism and appropriate SameSite cookie policy for the session model. This is an appropriate control for a different issue: A state-changing account setting endpoint accepts authenticated cross-site requests without checking request origin or CSRF defenses. The Highland Education finding instead concerns: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. It does not demonstrate the required correction. The decisive test remains: A crafted external redirect is rejected while safe application routes work as intended.

D:

Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows. This is an appropriate control for a different issue: A public API accepts a client-provided role value and writes it to a user profile without server-side field restrictions. The Highland Education finding instead concerns: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. It does not demonstrate the required correction. The decisive test remains: A crafted external redirect is rejected while safe application routes work as intended.

Question 554

At Highland Education, the training platform security team is conducting a permitted education-cloud audit under requirements for identity integrity and uninterrupted classes. The team now needs objective retest evidence for: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. Which result BEST demonstrates successful remediation?

  1. A crafted external redirect is rejected while safe application routes work as intended.
  2. A user cannot retrieve or modify another customer's order by substituting the identifier.
  3. A harmless test string containing HTML metacharacters renders as text instead of creating executable markup.
  4. Tampered browser totals are rejected and approved purchases retain correct server-calculated charges.

Explanation

Correct Answer

A:

A crafted external redirect is rejected while safe application routes work as intended. The observable result demonstrates that the documented condition, An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. has been addressed. The planned remediation is: Validate post-login destinations against a trusted relative-path or allowed-origin policy. This is a stronger validation than a saved ticket or unverified claim by Highland Education.

Incorrect Answers

B:

A user cannot retrieve or modify another customer's order by substituting the identifier. That observation would verify another scenario: A customer portal fetches an order by numeric identifier but fails to check whether the current user owns that order. The corrective step for that other scenario is: Apply object-level authorization checks on every read and mutation endpoint. But Highland Education is evaluating: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The necessary outcome is: A crafted external redirect is rejected while safe application routes work as intended.

C:

A harmless test string containing HTML metacharacters renders as text instead of creating executable markup. That observation would verify another scenario: A browser application reflects user-submitted comments into HTML without context-appropriate output encoding. The corrective step for that other scenario is: Encode untrusted content for the output context and use reviewed templates and browser controls. But Highland Education is evaluating: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The necessary outcome is: A crafted external redirect is rejected while safe application routes work as intended.

D:

Tampered browser totals are rejected and approved purchases retain correct server-calculated charges. That observation would verify another scenario: A shopping application applies a discount only in browser JavaScript and trusts the client-submitted final payment amount. The corrective step for that other scenario is: Recalculate totals server-side from authoritative prices and validated discounts rather than client-controlled arithmetic. But Highland Education is evaluating: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The necessary outcome is: A crafted external redirect is rejected while safe application routes work as intended.

Question 555

At Eastshore Energy, the energy risk engineering team is conducting an authorized field-security exercise under requirements for remote equipment availability. The control assessment finds: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. Which action BEST addresses the documented security gap?

  1. Use short-lived single-use reset tokens, securely verify ownership, and invalidate prior tokens on password change.
  2. Validate post-login destinations against a trusted relative-path or allowed-origin policy.
  3. Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows.
  4. Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions.

Explanation

Correct Answer

B:

Validate post-login destinations against a trusted relative-path or allowed-origin policy. This directly addresses the authorized assessment finding: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The Eastshore Energy team should verify the outcome rather than treat a configuration edit as proof. Acceptance evidence: A crafted external redirect is rejected while safe application routes work as intended.

Incorrect Answers

A:

Use short-lived single-use reset tokens, securely verify ownership, and invalidate prior tokens on password change. This is an appropriate control for a different issue: An application uses an unbounded password reset token and never expires outstanding reset links after a successful reset. The Eastshore Energy finding instead concerns: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. It does not demonstrate the required correction. The decisive test remains: A crafted external redirect is rejected while safe application routes work as intended.

C:

Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows. This is an appropriate control for a different issue: A public API accepts a client-provided role value and writes it to a user profile without server-side field restrictions. The Eastshore Energy finding instead concerns: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. It does not demonstrate the required correction. The decisive test remains: A crafted external redirect is rejected while safe application routes work as intended.

D:

Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions. This is an appropriate control for a different issue: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The Eastshore Energy finding instead concerns: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. It does not demonstrate the required correction. The decisive test remains: A crafted external redirect is rejected while safe application routes work as intended.

Question 556

At Eastshore Energy, the energy risk engineering team is conducting an authorized field-security exercise under requirements for remote equipment availability. An independent validation is requested for the original problem: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. Which result BEST demonstrates successful remediation?

  1. Attempts to request unrelated files return an authorization error while approved reports remain downloadable.
  2. A harmless test string containing HTML metacharacters renders as text instead of creating executable markup.
  3. Tampered browser totals are rejected and approved purchases retain correct server-calculated charges.
  4. A crafted external redirect is rejected while safe application routes work as intended.

Explanation

Correct Answer

D:

A crafted external redirect is rejected while safe application routes work as intended. The observable result demonstrates that the documented condition, An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. has been addressed. The planned remediation is: Validate post-login destinations against a trusted relative-path or allowed-origin policy. This is a stronger validation than a saved ticket or unverified claim by Eastshore Energy.

Incorrect Answers

A:

Attempts to request unrelated files return an authorization error while approved reports remain downloadable. That observation would verify another scenario: A report download endpoint accepts an arbitrary server path and returns files outside the approved reports directory. The corrective step for that other scenario is: Resolve download resources through scoped identifiers and a fixed allowlisted storage location. But Eastshore Energy is evaluating: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The necessary outcome is: A crafted external redirect is rejected while safe application routes work as intended.

B:

A harmless test string containing HTML metacharacters renders as text instead of creating executable markup. That observation would verify another scenario: A browser application reflects user-submitted comments into HTML without context-appropriate output encoding. The corrective step for that other scenario is: Encode untrusted content for the output context and use reviewed templates and browser controls. But Eastshore Energy is evaluating: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The necessary outcome is: A crafted external redirect is rejected while safe application routes work as intended.

C:

Tampered browser totals are rejected and approved purchases retain correct server-calculated charges. That observation would verify another scenario: A shopping application applies a discount only in browser JavaScript and trusts the client-submitted final payment amount. The corrective step for that other scenario is: Recalculate totals server-side from authoritative prices and validated discounts rather than client-controlled arithmetic. But Eastshore Energy is evaluating: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The necessary outcome is: A crafted external redirect is rejected while safe application routes work as intended.

Question 557

At Maplewood Schools, the district information security team is conducting an approved campus-connectivity review under requirements for protection of learner records. The authorized review identifies: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. Which action BEST addresses the documented security gap?

  1. Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions.
  2. Enforce the authorization decision on the server using the caller's identity and object rights.
  3. Validate post-login destinations against a trusted relative-path or allowed-origin policy.
  4. Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows.

Explanation

Correct Answer

A:

Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions. This directly addresses the authorized assessment finding: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The Maplewood Schools team should verify the outcome rather than treat a configuration edit as proof. Acceptance evidence: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

Incorrect Answers

B:

Enforce the authorization decision on the server using the caller's identity and object rights. This is an appropriate control for a different issue: A web application uses a hidden HTML form field to decide whether a requester may approve an invoice. The Maplewood Schools finding instead concerns: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. It does not demonstrate the required correction. The decisive test remains: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

C:

Validate post-login destinations against a trusted relative-path or allowed-origin policy. This is an appropriate control for a different issue: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The Maplewood Schools finding instead concerns: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. It does not demonstrate the required correction. The decisive test remains: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

D:

Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows. This is an appropriate control for a different issue: A public API accepts a client-provided role value and writes it to a user profile without server-side field restrictions. The Maplewood Schools finding instead concerns: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. It does not demonstrate the required correction. The decisive test remains: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

Question 558

At Maplewood Schools, the district information security team is conducting an approved campus-connectivity review under requirements for protection of learner records. Following the approved correction, auditors require proof that: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. Which result BEST demonstrates successful remediation?

  1. Attempts to request unrelated files return an authorization error while approved reports remain downloadable.
  2. A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.
  3. A harmless test string containing HTML metacharacters renders as text instead of creating executable markup.
  4. A cross-origin test cannot change account settings, but an authorized first-party request succeeds.

Explanation

Correct Answer

B:

A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners. The observable result demonstrates that the documented condition, A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. has been addressed. The planned remediation is: Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions. This is a stronger validation than a saved ticket or unverified claim by Maplewood Schools.

Incorrect Answers

A:

Attempts to request unrelated files return an authorization error while approved reports remain downloadable. That observation would verify another scenario: A report download endpoint accepts an arbitrary server path and returns files outside the approved reports directory. The corrective step for that other scenario is: Resolve download resources through scoped identifiers and a fixed allowlisted storage location. But Maplewood Schools is evaluating: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The necessary outcome is: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

C:

A harmless test string containing HTML metacharacters renders as text instead of creating executable markup. That observation would verify another scenario: A browser application reflects user-submitted comments into HTML without context-appropriate output encoding. The corrective step for that other scenario is: Encode untrusted content for the output context and use reviewed templates and browser controls. But Maplewood Schools is evaluating: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The necessary outcome is: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

D:

A cross-origin test cannot change account settings, but an authorized first-party request succeeds. That observation would verify another scenario: A state-changing account setting endpoint accepts authenticated cross-site requests without checking request origin or CSRF defenses. The corrective step for that other scenario is: Add a server-validated anti-CSRF mechanism and appropriate SameSite cookie policy for the session model. But Maplewood Schools is evaluating: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The necessary outcome is: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

Question 559

At Brookside Manufacturing, the industrial security team is conducting a plant safety and IT security assessment under requirements for production continuity and controlled test windows. Assessors report the following documented condition: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. Which action BEST addresses the documented security gap?

  1. Resolve download resources through scoped identifiers and a fixed allowlisted storage location.
  2. Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows.
  3. Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions.
  4. Encode untrusted content for the output context and use reviewed templates and browser controls.

Explanation

Correct Answer

C:

Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions. This directly addresses the authorized assessment finding: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The Brookside Manufacturing team should verify the outcome rather than treat a configuration edit as proof. Acceptance evidence: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

Incorrect Answers

A:

Resolve download resources through scoped identifiers and a fixed allowlisted storage location. This is an appropriate control for a different issue: A report download endpoint accepts an arbitrary server path and returns files outside the approved reports directory. The Brookside Manufacturing finding instead concerns: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. It does not demonstrate the required correction. The decisive test remains: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

B:

Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows. This is an appropriate control for a different issue: A public API accepts a client-provided role value and writes it to a user profile without server-side field restrictions. The Brookside Manufacturing finding instead concerns: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. It does not demonstrate the required correction. The decisive test remains: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

D:

Encode untrusted content for the output context and use reviewed templates and browser controls. This is an appropriate control for a different issue: A browser application reflects user-submitted comments into HTML without context-appropriate output encoding. The Brookside Manufacturing finding instead concerns: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. It does not demonstrate the required correction. The decisive test remains: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

Question 560

At Brookside Manufacturing, the industrial security team is conducting a plant safety and IT security assessment under requirements for production continuity and controlled test windows. The team now needs objective retest evidence for: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. Which result BEST demonstrates successful remediation?

  1. A user cannot retrieve or modify another customer's order by substituting the identifier.
  2. An ordinary user's attempted role change is ignored or rejected and administrative role updates remain auditable.
  3. A crafted external redirect is rejected while safe application routes work as intended.
  4. A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

Explanation

Correct Answer

D:

A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners. The observable result demonstrates that the documented condition, A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. has been addressed. The planned remediation is: Validate file content and size, isolate storage, and serve uploads with safe content handling and permissions. This is a stronger validation than a saved ticket or unverified claim by Brookside Manufacturing.

Incorrect Answers

A:

A user cannot retrieve or modify another customer's order by substituting the identifier. That observation would verify another scenario: A customer portal fetches an order by numeric identifier but fails to check whether the current user owns that order. The corrective step for that other scenario is: Apply object-level authorization checks on every read and mutation endpoint. But Brookside Manufacturing is evaluating: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The necessary outcome is: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

B:

An ordinary user's attempted role change is ignored or rejected and administrative role updates remain auditable. That observation would verify another scenario: A public API accepts a client-provided role value and writes it to a user profile without server-side field restrictions. The corrective step for that other scenario is: Use explicit allowlists for writable fields and maintain role assignment through privileged backend workflows. But Brookside Manufacturing is evaluating: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The necessary outcome is: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.

C:

A crafted external redirect is rejected while safe application routes work as intended. That observation would verify another scenario: An API trusts a client-provided redirect URL and sends authenticated users to an unapproved external site after login. The corrective step for that other scenario is: Validate post-login destinations against a trusted relative-path or allowed-origin policy. But Brookside Manufacturing is evaluating: A file upload service stores user files in a web-executable directory and trusts the client-supplied MIME header. The necessary outcome is: A harmless disallowed file-type test cannot execute as server code and approved uploads remain accessible only to their owners.