Pass ISC CISSP Exam in First Attempt Easily
Real ISC CISSP Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

CISSP Premium Bundle

  • Premium File 484 Questions & Answers
  • Last Update: Oct 31, 2026
  • Training Course 62 Lectures
  • Study Guide 2003 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    484 Questions & Answers
    Last Update: Oct 31, 2026

    $76.99
    $69.99
  • Training Course

    62 Lectures

    $43.99
    $39.99
  • Study Guide

    2003 Pages

    $43.99
    $39.99

Certified Information Systems Security Professional CISSP Practice Test 59

Question 580

A payment API concatenates a customer-supplied account number into a SQL query. A crafted value changes the WHERE clause and returns another customer’s transaction history. What engineering fix is BEST?

  1. Escape single quotes manually and continue concatenating every request value into SQL text.
  2. Hide the account-number field from the web page while leaving the API query unchanged.
  3. Use prepared statements with bound data parameters and separate server-side ownership authorization for the requested account.
  4. Give the database account administrative rights to avoid queries failing under attack.

Explanation

Correct Answer

C:

Binding values keeps untrusted input out of SQL grammar. It does not itself prevent a valid but unauthorized account ID, so resource authorization remains essential.

Incorrect Answers

A:

Manual escaping is dialect-sensitive and brittle; parameters are the primary defense against values becoming executable syntax.

B:

An attacker can call the API directly, so client-side visibility does not prevent SQL injection or cross-account reads.

D:

Excessive database privileges amplify harm and do not prevent injected syntax.

Question 581

A team converts dynamic SQL data values to bound parameters. What additional requirement remains to prevent one authenticated user from retrieving another user’s account?

  1. Assume all numeric account IDs are automatically authorized once the query is parameterized.
  2. Enforce resource-level authorization for each account because safe parameterization prevents syntax injection but not unauthorized valid identifiers.
  3. Allow any user to query all accounts as long as database errors are suppressed.
  4. Disable server authorization because TLS already encrypts the API request.

Explanation

Correct Answer

B:

A safely bound account ID can still identify someone else’s record. Authentication and database syntax safety must be complemented by ownership and entitlement checks.

Incorrect Answers

A:

A validly formatted value can still refer to another customer; parameterization does not grant ownership.

C:

Suppressing error details reduces information leakage but leaves direct unauthorized data access intact.

D:

Transport encryption does not decide which business records a requester may access.

Question 582

An API is changed to use parameterized SQL plus account ownership checks. What test suite BEST demonstrates the two controls?

  1. Injection payloads are treated as data and cannot alter SQL structure; authenticated customer A cannot retrieve customer B’s records even with a legitimate B ID.
  2. A normal owner account query succeeds, but no malicious input or cross-account request is attempted.
  3. A quote-based input retrieves extra rows while the API returns HTTP 200.
  4. Only client-side form validation blocks quote characters; the API accepts direct unescaped requests.

Explanation

Correct Answer

A:

The two negative tests distinguish SQL grammar isolation from object authorization. A normal owner read should still pass as a positive control.

Incorrect Answers

B:

Happy-path function alone does not test either injection resistance or object-level access control.

C:

Successful injected syntax is evidence the original query construction vulnerability remains.

D:

A client control can be bypassed and does not establish safe server query construction.

Question 583

A support dashboard inserts customer-supplied ticket text into innerHTML, and users see scripted pop-ups. Which fix is MOST direct?

  1. Escape SQL quotes only before writing the ticket to the database.
  2. Add a prominent disclaimer to the support page.
  3. Render untrusted text with context-safe DOM APIs or output encoding and avoid interpreting it as executable markup.
  4. Disable audit logs while leaving the innerHTML sink unchanged.

Explanation

Correct Answer

C:

XSS results from treating attacker-controlled content as active browser code.

Incorrect Answers

A:

SQL escaping does not provide HTML/DOM context safety at output.

B:

A warning cannot prevent browser execution of unsafe markup.

D:

Logging changes do not remove the injection source-to-sink vulnerability.

Question 584

The dashboard now uses safe text insertion. What related issue may still need separate controls?

  1. A content security policy always removes the need for output-safe APIs.
  2. Stored input is safe in every template because it was once shown as text.
  3. XSS is impossible whenever the database uses TLS.
  4. Other rendering contexts such as HTML attributes, URLs or client templates can still interpret untrusted data unsafely.

Explanation

Correct Answer

D:

Escaping must match each output context; one safe sink does not validate every rendering path.

Incorrect Answers

A:

CSP is defense in depth and cannot replace correct handling of untrusted content.

B:

Output context changes can reintroduce executable interpretation.

C:

Transport encryption does not control how browsers interpret stored content.

Question 585

Which security test BEST shows the ticket renderer resists XSS?

  1. Check the database contains the malicious string unchanged.
  2. Verify the page uses HTTPS.
  3. Submit malicious script-like content, confirm it appears as inert text across user and admin views, and monitor for execution.
  4. Ask a developer whether a CSP header exists without testing payloads.

Explanation

Correct Answer

C:

The test observes rendered browser behavior in relevant contexts rather than only input acceptance.

Incorrect Answers

A:

Storage content does not establish whether output executes in another browser.

B:

TLS protects the channel, not DOM interpretation of untrusted markup.

D:

A header alone can be misconfigured and cannot prove safe output handling.

Question 586

An image proxy accepts arbitrary user-provided URLs and fetches them server-side. Attackers use it to access cloud instance metadata and internal admin endpoints. What design BEST prevents SSRF?

  1. Block the string “localhost” but allow numeric loopback, private IPs and redirects without revalidation.
  2. Use a strict business-approved destination allowlist, enforce address and protocol checks after every resolution/redirect, and restrict server egress to approved destinations.
  3. Require authenticated users for image upload while letting every authenticated user fetch arbitrary internal URLs.
  4. Trust the first DNS lookup and follow redirects to any address, assuming HTTPS proves safety.

Explanation

Correct Answer

B:

SSRF crosses a network trust boundary via a trusted server fetch. Defense in depth requires controlling both URL parsing/destination selection and the actual outbound network path.

Incorrect Answers

A:

Hostname-only rules are bypassable through address encodings, DNS resolution and redirect chains.

C:

Caller authentication does not authorize arbitrary network requests from the server to internal services.

D:

Redirects and DNS rebinding can change the final target; TLS does not grant permission to retrieve private management URLs.

Question 587

A proxy checks the submitted hostname against an allowlist before issuing an HTTP fetch. What remaining SSRF bypass must be addressed?

  1. Assume all requests are safe if the initial URL uses https://.
  2. Disable redirect validation because the initial hostname matched the allowlist.
  3. DNS rebinding, multiple resolved addresses and redirect chains that move the final connection to loopback, private or metadata endpoints.
  4. Permit numeric and IPv6 private addresses because the allowlist is applied only to DNS names.

Explanation

Correct Answer

C:

A hostname check at input time is not sufficient if the resolved destination can change. Validate each connection target and restrict egress at the network boundary.

Incorrect Answers

A:

HTTPS encrypts a connection; it does not make the destination authorized or prevent malicious private-address targeting.

B:

An allowed host can redirect to a prohibited internal host or address unless each hop is checked.

D:

An attacker may bypass DNS-name filtering by supplying direct IP literals in private/loopback ranges.

Question 588

An image proxy team claims it has closed server-side request forgery paths. What security test BEST demonstrates the fix?

  1. An ordinary allowed image URL downloads successfully, with no attempt to reach internal addresses.
  2. Direct and redirected requests to metadata, loopback, private IPv4/IPv6 and rebinding destinations are denied, while an approved public image origin works.
  3. A redirect from an allowed site reaches a private admin API and returns its JSON.
  4. The input text “localhost” is blocked but 127.0.0.1 and cloud metadata address still load.

Explanation

Correct Answer

B:

This tests bypass classes plus valid functionality, confirming the final network destination cannot cross the protected boundary.

Incorrect Answers

A:

A happy-path download does not prove SSRF restrictions on adversarial destinations.

C:

This result directly demonstrates an unsafe redirect SSRF bypass remains.

D:

Literal-only string filtering is incomplete and fails the intended destination policy.

Question 589

A job worker deserializes objects received from untrusted users using a library that may instantiate arbitrary application classes during parsing. Which design best mitigates code-execution risk?

  1. Keep arbitrary object loading but remove user-facing stack traces.
  2. Enable TLS to the upload endpoint and continue accepting executable serialized objects.
  3. Replace executable object deserialization with a constrained data-only format and explicit schema/size checks, avoiding untrusted class construction.
  4. Increase the worker’s memory and CPU to handle larger nested objects without parsing limits.

Explanation

Correct Answer

C:

Dynamic object deserialization can run gadget chains while materializing attacker-controlled data. Data-only parsing with allowlisted schemas and resource limits reduces this dangerous interpretation.

Incorrect Answers

A:

Hiding errors does not prevent malicious constructors or gadget chains from executing.

B:

Transport encryption does not change the risk of processing malicious payloads after delivery.

D:

More resources do not stop unintended code execution and may worsen denial-of-service exposure.

Question 590

A service switches from unsafe object deserialization to JSON with an explicit schema. What residual parser risk still needs a control?

  1. A valid JSON document cannot ever be used to cause denial of service.
  2. Schema validation should be disabled for large documents to improve speed.
  3. Every field name present in JSON is automatically an authorized business attribute.
  4. Unbounded nesting, document size and expensive validation paths can exhaust resources, requiring limits and negative resource tests.

Explanation

Correct Answer

D:

Data-only formats prevent arbitrary object construction but remain susceptible to resource exhaustion if parser work is unbounded.

Incorrect Answers

A:

Deeply nested or huge inputs may consume excessive parser time/memory even without executable objects.

B:

Removing validation on high-cost inputs defeats a principal safety constraint.

C:

A schema specifies structure; business authorization must still validate requested operations and sensitive fields.

Certified Information Systems Security Professional (CISSP) Practice Tests

Purchase Individually

  • Premium File

    484 Questions & Answers
    Last Update: Oct 31, 2026

    $76.99
    $69.99
  • Training Course

    62 Lectures

    $43.99
    $39.99
  • Study Guide

    2003 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports