ECCouncil 312-50v13 (Certified Ethical Hacker v13) Practice Test 62

Question 610

An analyst is sorting findings by mechanism. One entry reads: A query value is copied into an HTML response and interpreted by the browser as executable markup. Which label is the right one?

  1. Cross-site request forgery in forms
  2. Stored cross-site scripting
  3. Excessive API response data
  4. Reflected cross-site scripting

Explanation

Correct Answer

D:

Reflected XSS occurs when request-derived content is immediately returned without suitable output encoding; that mechanism makes this classification more precise than the neighboring terms. The protective follow-up is to apply context-appropriate output encoding and avoid inserting untrusted input into executable HTML contexts, verified when controlled request strings appear escaped in the reflected response and do not run as browser code.

Incorrect Answers

A:

State-changing form endpoints are vulnerable when ambient cookies alone authorize cross-origin requests; this different classification would fit when a browser submits a password-change form while the user is logged in but without evidence of intended action, not the evidence pointing to reflected cross-site scripting in the question.

B:

Stored XSS persists attacker-controlled content server-side and executes when it is later rendered unsafely; this different classification would fit when untrusted comment content executes in other users' browsers when a discussion page renders saved posts, not the evidence pointing to reflected cross-site scripting in the question.

C:

Sensitive fields remain exposed when authorization and output filtering occur only in the browser; this different classification would fit when a customer profile endpoint returns staff-only flags and internal identifiers even though the UI hides them, not the evidence pointing to reflected cross-site scripting in the question.

Question 611

Consider this security review note: Deployed devices receive security fixes inconsistently because no operator owns their update policy. What should the responsible team do first to address the issue?

  1. Use mirrored OT traffic and correlate observed devices with engineering-owned inventory.
  2. Use supported DTLS or equivalent secure CoAP protection for sensitive telemetry.
  3. Place IoT devices in dedicated segments with narrowly permitted destination and management paths.
  4. Inventory firmware versions and establish supported staged updates with rollback planning.

Explanation

Correct Answer

D:

Unmanaged update processes leave persistent known weaknesses in long-lived embedded deployments; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that update reports map each device to approved version, owner, rollout status, and exception.

Incorrect Answers

A:

Passive discovery derives device roles and communications from existing traffic without injecting new requests; the proposed safeguard addresses a case where a safety-critical network cannot tolerate unknown active probes, but operators need controller inventory, rather than the IoT secure update lifecycle finding described here.

B:

CoAP traffic needs an appropriate protected transport or object security design when data confidentiality matters; the proposed safeguard addresses a case where a constrained sensor sends sensitive readings over unprotected datagrams to an external aggregator, rather than the IoT secure update lifecycle finding described here.

C:

Connected devices with limited management assurance should not inherit unrestricted enterprise network trust; the proposed safeguard addresses a case where an internet-connected camera can initiate sessions to corporate finance workstations, rather than the IoT secure update lifecycle finding described here.

Question 612

Consider this security review note: Untrusted comment content executes in other users' browsers when a discussion page renders saved posts. What should the responsible team do first to address the issue?

  1. Apply context-appropriate output encoding and avoid inserting untrusted input into executable HTML contexts.
  2. Encode output by context and sanitize permitted rich content before it reaches browser execution contexts.
  3. Validate file signatures and content, store uploads as inert data, and set safe download headers.
  4. Allowlist specific trusted origins and avoid wildcard or reflected credentialed origin permissions.

Explanation

Correct Answer

B:

Stored XSS persists attacker-controlled content server-side and executes when it is later rendered unsafely; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that saved hostile test strings render as inert text or safe markup for every viewing role.

Incorrect Answers

A:

Reflected XSS occurs when request-derived content is immediately returned without suitable output encoding; the proposed safeguard addresses a case where a query value is copied into an HTML response and interpreted by the browser as executable markup, rather than the stored cross-site scripting finding described here.

C:

Uploads can create script, stored-XSS, or malware exposure when the server trusts names and client media types; the proposed safeguard addresses a case where an avatar service accepts an arbitrary extension and serves the uploaded file with an active browser content type, rather than the stored cross-site scripting finding described here.

D:

Unsafe CORS policies may let untrusted websites read authenticated cross-origin responses in browsers; the proposed safeguard addresses a case where an API reflects arbitrary Origin headers while permitting browsers to include credentials in cross-origin requests, rather than the stored cross-site scripting finding described here.

Question 613

Under an authorized engagement, the report states: A containerized service runs privileged with broad host filesystem mounts even though it only serves web traffic. Which protective practice belongs in the fix plan?

  1. Grant the function only event-processing actions and scope them to exact resources.
  2. Drop unnecessary capabilities and enforce restricted runtime settings and filesystem access.
  3. Attach narrow resource-scoped actions to the function's execution identity.
  4. Detect drift and reconcile production with reviewed infrastructure-as-code changes.
  5. Apply Pod Security Admission standards or maintained validating admission policies for the cluster version.
  6. Enable organization-wide control-plane logs in protected centralized storage.

Explanation

Correct Answer

B:

Containers share host kernel resources, so excessive privileges and mounts weaken isolation boundaries; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that runtime policy checks deny privileged containers and unwanted host mounts in the workload namespace.

Incorrect Answers

A:

Serverless code still runs with an identity whose permissions determine its possible cloud-side actions; the proposed safeguard addresses a case where an event-triggered cloud function can invoke unrelated administrative APIs using its execution role, rather than the container runtime boundaries finding described here.

C:

Broad cloud roles amplify a compromised workload's capabilities outside its necessary operations; the proposed safeguard addresses a case where a serverless function can administer all storage resources even though it reads one designated object, rather than the container runtime boundaries finding described here.

D:

Manual cloud changes create configuration drift outside version-controlled infrastructure definitions; the proposed safeguard addresses a case where a manually created public firewall rule appears in production but is absent from the reviewed deployment configuration, rather than the container runtime boundaries finding described here.

E:

Admission controls evaluate proposed resources at creation and can enforce workload security constraints; the proposed safeguard addresses a case where a cluster accepts workloads with host-level privileges despite published organizational security requirements, rather than the container runtime boundaries finding described here.

F:

Cloud control-plane audit trails capture identity and API activity when correctly enabled and retained; the proposed safeguard addresses a case where a privileged cloud policy change is discovered but the team cannot identify who made the API request, rather than the container runtime boundaries finding described here.

Question 614

To confirm effective security handling of threat modeling, which result should an analyst prioritize?

  1. A control review confirms an account compromise alone cannot bypass independent protective layers.
  2. The model links identified threats to trust boundaries, mitigations, and accountable owners.
  3. The inventory records owner, data category, business purpose, and handling requirements for the repository.
  4. Sampled reports omit unrelated personal data and the retention log shows scheduled deletion.

Explanation

Correct Answer

B:

Threat modeling evaluates where architecture and assumptions create exploitable trust crossings; the outcome tests this precise property in the production control. It relates to the original observation that a design workshop lists trust boundaries, data flows, attackers, and misuse cases before deployment.

Incorrect Answers

A:

Layered controls reduce dependence on a single protective measure and limit the effects of one failure; that evidence is relevant when a stolen password would provide direct access to sensitive data because no additional safeguard exists, but does not establish closure of the threat modeling exposure.

C:

Classification links information sensitivity and ownership to controls, retention, and handling requirements; that evidence is relevant when a test report finds a storage location containing regulated personal records but no assigned data owner, but does not establish closure of the threat modeling exposure.

D:

Minimizing collected data lowers privacy exposure and limits unnecessary retention during legitimate testing; that evidence is relevant when a diagnostic capture includes thousands of customer identifiers unrelated to the approved objective, but does not establish closure of the threat modeling exposure.

Question 615

A remediation ticket for reverse proxy trust boundary needs technical proof before closure. Which test result fits?

  1. Cross-origin framing tests fail for untrusted sites and pass only for approved embedding contexts.
  2. Request logs report the expected client address and reject spoofed forwarding-header values.
  3. Central records preserve historical requests and show no application-account ability to erase them.
  4. Browser tests upgrade subsequent navigation to HTTPS without exposing the session to a cleartext retry.

Explanation

Correct Answer

B:

Proxy metadata is trustworthy only when inserted or overwritten by a controlled trusted reverse proxy; the outcome tests this precise property in the production control. It relates to the original observation that a backend trusts every client-provided forwarding header as the true source IP address.

Incorrect Answers

A:

Frame-embedding restrictions can reduce clickjacking exposure by limiting allowed ancestor origins; that evidence is relevant when a malicious third-party page embeds the protected site in an invisible frame to manipulate user clicks, but does not establish closure of the reverse proxy trust boundary exposure.

C:

Request logs support investigation only when retained, time-synchronized, and protected against alteration; that evidence is relevant when a security incident cannot be reconstructed because access logs rotate after one hour and stay writable by the app account, but does not establish closure of the reverse proxy trust boundary exposure.

D:

HSTS directs compliant browsers to use HTTPS for the host after receiving a valid secure policy; that evidence is relevant when a site supports HTTPS but returning visitors sometimes attempt insecure HTTP connections first, but does not establish closure of the reverse proxy trust boundary exposure.

Question 616

The security owner reviews this situation: An internet circuit saturates with traffic from many unrelated networks while the web application remains healthy locally. What is the most suitable targeted safeguard?

  1. Arrange upstream traffic absorption and routing-level DDoS protection with the connectivity provider.
  2. Apply per-client rate controls, caching, and resource-aware request limits at the application edge.
  3. Enable connection protections and tune state capacity while preserving ordinary client sessions.
  4. Filter spoofed-source traffic and work with upstream protection against unwanted reflected replies.

Explanation

Correct Answer

A:

Volumetric denial-of-service overwhelms network bandwidth before ordinary application controls can respond; this is the specific exposure or dependency that the selected action addresses. After treatment, the assessor should confirm that provider telemetry shows unwanted floods absorbed before they exhaust the protected access circuit.

Incorrect Answers

B:

Layer-seven denial-of-service targets application processing resources rather than just raw link bandwidth; the proposed safeguard addresses a case where a web service exhausts worker capacity under many costly but syntactically valid application requests, rather than the volumetric DDoS finding described here.

C:

State-exhaustion attacks consume finite connection resources before useful application work begins; the proposed safeguard addresses a case where a server accumulates large numbers of unfinished connection attempts and runs out of state-table capacity, rather than the volumetric DDoS finding described here.

D:

Reflection abuses third-party responders and source-address spoofing; amplification increases response traffic relative to requests; the proposed safeguard addresses a case where a service receives a disproportionately large volume of unsolicited replies from unrelated public servers, rather than the volumetric DDoS finding described here.

Question 617

In a security workshop about AI-assisted vulnerability triage, which technical statement is valid?

  1. A known-exploited catalog identifies vulnerabilities with evidence of exploitation, not just theoretical feasibility.
  2. Probabilistic AI summaries can assist prioritization but do not replace authenticated evidence or analyst validation.
  3. Risk-based remediation SLAs translate vulnerability priority into accountable response deadlines and escalation.
  4. CVSS communicates technical severity characteristics and is not, by itself, a full organization-specific risk score.

Explanation

Correct Answer

B:

An automated AI triage report labels a service vulnerable despite missing package evidence and system-owner context; that situation illustrates the actual operating behavior under review. Its practical safeguard is to review underlying scan artifacts and owner context before assigning a remediation priority, with confirmation when the finalized ticket cites validated software evidence, exposure, and business impact rather than the model estimate.

Incorrect Answers

A:

An operations team needs a reliable signal that a CVE has been observed in active exploitation; those details characterize known exploited vulnerability catalog and would call for check official known-exploited listings and enforce urgency according to applicable directives and risk, rather than explaining AI-assisted vulnerability triage.

C:

A critical finding stays open for months because no team owns the fix or deadline; those details characterize remediation service level and would call for assign remediation owners and deadlines that reflect verified business exposure and severity, rather than explaining AI-assisted vulnerability triage.

D:

A vulnerability report uses a standardized severity number without considering whether the vulnerable system is exposed; those details characterize CVSS impact scoring and would call for combine standardized severity with reachability, asset impact, and compensating controls, rather than explaining AI-assisted vulnerability triage.

Question 618

An analyst is explaining ORM parameter misconception to a system owner. Which description is technically correct?

  1. An ORM protects only operations that actually use safe parameter binding or validated query construction.
  2. SQL parameters generally bind values, not arbitrary identifiers such as table or column names.
  3. Uncaught database errors can leak query structure and database internals to remote users.
  4. Parameter binding separates query structure from untrusted values, preventing data from becoming SQL syntax.

Explanation

Correct Answer

A:

A developer assumes all ORM operations are injection-safe despite calling a raw query method with string interpolation; that situation illustrates the actual operating behavior under review. Its practical safeguard is to audit raw-query APIs and replace interpolated SQL with supported parameterized ORM calls, with confirmation when source review and regression tests show raw query paths no longer concatenate untrusted input.

Incorrect Answers

B:

An application lets a user choose a sort column and attempts to pass the column name as a value parameter; those details characterize dynamic SQL identifier safety and would call for select requested identifiers from an explicit server-side allowlist before composing the statement, rather than explaining ORM parameter misconception.

C:

A malformed user parameter causes the application to display raw database syntax and schema details; those details characterize error-based database disclosure and would call for handle database exceptions without revealing sensitive details and correct unsafe query composition, rather than explaining ORM parameter misconception.

D:

An application builds database queries by concatenating search text into the SQL statement itself; those details characterize parameterized SQL execution and would call for use prepared statements with bound parameters for user-supplied values, rather than explaining ORM parameter misconception.

Question 619

The owner says full-disk encryption limits has been addressed. Which recorded outcome should the independent tester seek?

  1. Recovery tests decrypt backups only with authorized key access and detect modified ciphertext.
  2. An offline drive read fails without recovery credentials while workstation locking remains separately enforced.
  3. Benchmark records confirm configured hash parameters and successful authentication remains operationally acceptable.
  4. Object metadata contains wrapped data keys rather than exposed raw content-encryption keys.

Explanation

Correct Answer

B:

Full-disk encryption primarily protects data at rest on powered-off locked devices, not data already decrypted for a live session; the outcome tests this precise property in the production control. It relates to the original observation that a laptop drive is stolen while the device is powered off, but a user later leaves it unlocked and running.

Incorrect Answers

A:

Symmetric algorithms use a shared secret for encryption and decryption and are efficient for bulk data; that evidence is relevant when a large backup needs efficient encryption and decryption with the same protected secret key, but does not establish closure of the full-disk encryption limits exposure.

C:

Memory-hard password KDFs raise the RAM and computation cost of each guessing attempt; that evidence is relevant when an identity service must make large-scale offline password guessing expensive on parallel hardware, but does not establish closure of the full-disk encryption limits exposure.

D:

Envelope encryption encrypts bulk content with data keys and wraps those keys under a separate managed key; that evidence is relevant when a storage platform encrypts each object with a short-lived data key protected by a central master key, but does not establish closure of the full-disk encryption limits exposure.

Question 620

For a security control relating to network IDS visibility, which result shows meaningful enforcement rather than intent alone?

  1. Network evidence shows alerts generated without the sensor independently blocking test traffic.
  2. Approved network tests show unneeded outbound destinations denied with actionable logs.
  3. Post-tuning alerts distinguish authorized workload patterns from representative suspicious outliers.
  4. Detection tests document whether controls see only metadata or the intended decrypted inspection fields.

Explanation

Correct Answer

A:

An IDS detects or reports activity while remaining outside the active traffic-blocking decision path; the outcome tests this precise property in the production control. It relates to the original observation that a passive network sensor raises an alert about suspicious packets but does not terminate the connection.

Incorrect Answers

B:

Outbound policy and DNS controls constrain unauthorized communication from internal systems; that evidence is relevant when a compromised host reaches an unusual external endpoint because the perimeter controls only inbound traffic, but does not establish closure of the network IDS visibility exposure.

C:

Anomaly systems depend on normal-behavior models that can drift after genuine environment changes; that evidence is relevant when a detection tool generates many false alarms after a legitimate scheduled workload changes traffic patterns, but does not establish closure of the network IDS visibility exposure.

D:

Without authorized decryption or endpoint visibility, encrypted application content is opaque to passive perimeter inspection; that evidence is relevant when a perimeter appliance detects destination addresses but cannot see threats hidden inside end-to-end encrypted payloads, but does not establish closure of the network IDS visibility exposure.

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