Question 530
During a documented lab review, an analyst notes: An attacker supplies a session identifier before login, and the application's identifier remains unchanged after the victim authenticates. What mechanism should be recorded?
- Idle session timeout
- CSRF request forgery
- Session fixation
- Unrevoked logout token
Explanation
Correct Answer
C:Session fixation works when a preauthentication identifier is accepted as an authenticated session, allowing the person who already knows that identifier to reuse it. For a production safeguard, operators can regenerate session identifiers after successful authentication; changing the session token at the privilege transition invalidates any previously planted identifier without requiring the victim to notice tampering.
Incorrect Answers
A:Idle timeout invalidates a session after inactivity; it addresses unattended access and exposure from abandoned authenticated browsers; those prerequisites differ from the session fixation behavior in the record.
B:CSRF exploits ambient browser authentication to induce unwanted actions; the adversary does not necessarily learn or steal the session identifier; this would classify another type of evidence, whereas the actual finding shows session fixation.
D:A logout operation that only clears client storage may leave a server-side session valid, permitting reuse of an earlier stolen bearer token; those effects are not the session fixation pattern evidenced by the assessment.
Question 531
The approved test uncovered this weakness: Marketing publishes slide decks whose hidden file properties contain employee login names and mapped-drive folders even though the visible slides are sanitized. Which control would reduce the relevant exposure without relying on obscurity?
- Apply publication review guidance to job ads and employee profiles
- Revoke exposed credentials and scan repository history for leaks
- Reduce public management exposure and sanitize unnecessary service banners
- Strip sensitive metadata during document publishing
Explanation
Correct Answer
D:A publication workflow that sanitizes document properties reduces identity and host naming disclosures while preserving the intended public content. That correction is linked to the fact that document metadata can carry author names, revision details, software identifiers, and filesystem paths omitted from the visible body.
Incorrect Answers
A:Limiting operational detail in public posts reduces organizational fingerprinting without relying on employees to stop using professional networks; the tested weakness is public document metadata, not the social media role intelligence configuration addressed here.
B:Rotating the affected token removes the old credential's authority, while history scanning finds additional disclosures and prevents recurrence; that safeguard does not directly close the public document metadata route highlighted by the test.
C:Network access rules address the real risk, while suppressing detailed version disclosure reduces effortless targeting based on indexed fingerprints; the proposed improvement would make sense for technology banner aggregation but not as the main fix here; the tested fault instead involves public document metadata.
Question 532
The assessor confirmed this exposure: A hospital kiosk is left unattended during a shift change, yet the previous staff member's authenticated session remains valid overnight with no server-enforced inactivity limit. Which change most directly closes the underlying security gap?
- Expire inactive sessions server-side and reauthenticate after the threshold
- Regenerate session identifiers after successful authentication
- Verify issuer, audience, expiry, and signature for every consuming API
- Generate long unpredictable session identifiers using a cryptographic RNG
Explanation
Correct Answer
A:Server-enforced expiry prevents a copied or unattended token from remaining valid merely because client JavaScript failed to close the page. It targets the actual failure mode: idle timeout invalidates a session after inactivity; it addresses unattended access and exposure from abandoned authenticated browsers.
Incorrect Answers
B:Changing the session token at the privilege transition invalidates any previously planted identifier without requiring the victim to notice tampering; the measure addresses a different trust boundary from the idle session timeout finding.
C:Recipient-specific validation stops a valid token minted for a different service from becoming a general-purpose cross-service credential; the required correction concerns idle session timeout, so this is not the targeted control.
D:High-entropy tokens resist guessing; rate limiting is useful but cannot compensate for a trivially enumerable identifier space; its security benefit applies principally to predictable session token, not the defect described; the tested fault instead involves idle session timeout.
Question 533
An authorized security review documents this behavior: After a simulated compromise, investigators find gaps in local event logs but a central collector retained the missing authentication events. Which mechanism best accounts for the finding?
- Security-log tampering
- Local privilege escalation
- SSH authorized-key persistence
- Password spraying
Explanation
Correct Answer
A:Log clearing or alteration attempts to obstruct detection; independent forwarded records can preserve evidence even when a compromised host loses local history. The appropriate hardening measure is to forward protected logs off-host and alert on log-service disruption, since central immutable retention and alerts on clearing events preserve an independent timeline and expose suspicious attempts to erase local evidence.
Incorrect Answers
B:Local privilege escalation uses weaknesses within a host to increase a process or user's authority after initial access; it differs from moving between separate systems; the case demonstrates security-log tampering rather than the alternate mechanism.
C:SSH public-key authentication trusts allowed public keys in account configuration; adding an unapproved key can preserve remote access independent of password rotation; the observed evidence concerns security-log tampering instead.
D:Password spraying distributes a small candidate set across many usernames to evade per-account lockout thresholds, unlike repeated guessing against one user; the test record points specifically to security-log tampering, not this separate mechanism.
Question 534
The tester submits the following verified finding: A web endpoint accepts obsolete protocol versions and weak cryptographic suites for compatibility with retired clients. Which technique or condition is involved?
- Server version header
- Legacy TLS configuration
- Exposed management interface
- Reverse proxy trust boundary
Explanation
Correct Answer
B:Weak transport negotiation may permit deprecated algorithms or downgrade paths; the chosen TLS profile is separate from application-level authorization. The control that addresses this failure path is to disable obsolete TLS protocols and weak ciphers after compatibility testing; modern negotiation reduces transport cryptographic exposure while inventorying client requirements prevents avoidable service outages.
Incorrect Answers
A:Response headers can reveal software identifiers that help attackers compare a host with known vulnerabilities; disclosure is not exploitation by itself; the case demonstrates legacy TLS configuration rather than the alternate mechanism.
C:Administrative panels expose privileged configuration functions and attract credential attacks when globally reachable, regardless of whether a login screen exists; the test record points specifically to legacy TLS configuration, not this separate mechanism.
D:Proxy metadata headers are only trustworthy when inserted or sanitized by an authenticated, trusted upstream hop; arbitrary clients may forge them; that behavior is distinct from the legacy TLS configuration finding being classified.
Question 535
Consider this event from a scoped security assessment: Many camera devices are accessible with the same manufacturer-provided administrative password that was never changed during deployment. Which explanation fits the observed evidence?
- Default IoT credentials
- Shared device identity
- Exposed hardware debug port
- Modbus TCP trust weakness
Explanation
Correct Answer
A:Shared default credentials simplify first setup but give attackers a predictable authentication route across whole fleets after one password becomes known. The control that addresses this failure path is to require unique per-device credentials and forced first-use enrollment; device-specific strong secrets prevent a common vendor password from granting broad access to deployed camera inventories.
Incorrect Answers
B:Shared identities weaken attribution and targeted revocation; compromise of one credential can impersonate any device using that identity; the test record points specifically to default IoT credentials, not this separate mechanism.
C:Hardware debug interfaces may expose console access, memory, or privileged firmware operations outside the normal network authentication model; that behavior is distinct from the default IoT credentials finding being classified.
D:Traditional Modbus TCP lacks native cryptographic client authentication and encryption, so security often depends on network boundaries and compensating controls; the scenario identifies default IoT credentials, which has a different triggering condition.
Question 536
Consider this event from a scoped security assessment: A deployed controller leaves a working UART or JTAG connector accessible under an unlocked service panel. Which explanation fits the observed evidence?
- PLC command tampering
- Exposed UPnP forwarding
- Exposed industrial historian
- Exposed hardware debug port
Explanation
Correct Answer
D:Hardware debug interfaces may expose console access, memory, or privileged firmware operations outside the normal network authentication model. The appropriate hardening measure is to disable production debug access and physically protect service interfaces, since debug locking and tamper-resistant enclosure reduce unauthorized local access to memory and configuration on deployed hardware.
Incorrect Answers
A:Programmable logic controllers act on control instructions that may affect physical processes; insecure command channels can translate cyber access into unsafe operations; the test record points specifically to exposed hardware debug port, not this separate mechanism.
B:UPnP IGD can automate NAT port mappings; overly permissive control or exposure may open unintended paths from external networks; that behavior is distinct from the exposed hardware debug port finding being classified.
C:Historians aggregate industrial process data and may reveal operational patterns or expose interfaces bridging enterprise and control environments; the scenario identifies exposed hardware debug port, which has a different triggering condition.
Question 537
The assessor confirmed this exposure: A mobile application includes one reusable cloud credential in an easily extracted local data file, rather than retrieving scoped secrets through the device's protected key facilities. Which change most directly closes the underlying security gap?
- Protect release signing keys and verify signatures in the deployment pipeline
- Use platform keystores and avoid embedding reusable high-value secrets
- Restrict risky overlay and accessibility grants and monitor suspicious apps
- Use device attestation and restrict access from unsupported rooted endpoints
Explanation
Correct Answer
B:Hardware-backed or OS-protected keys reduce straightforward extraction while server-managed short-lived tokens limit exposure if a client is lost. It targets the actual failure mode: application secrets stored in ordinary plaintext files can be exposed through backup, debugging, or device compromise, independent of network TLS.
Incorrect Answers
A:Secure key custody preserves update continuity and makes unauthorized package substitution harder to distribute as a trusted upgrade; the measure addresses a different trust boundary from the insecure mobile key storage finding.
C:Platform safeguards and application controls reduce the ability of one app to draw deceptive credential forms over another; its security benefit applies principally to mobile overlay credential theft, not the defect described; the tested fault instead involves insecure mobile key storage.
D:Integrity checks and conditional access prevent high-trust applications from assuming ordinary platform protections remain intact on modified devices; the exposure here is insecure mobile key storage, which calls for another protective mechanism.
Question 538
Investigators compare two verified findings. First: A login-completion URL accepts an external redirect target and sends users to a fraudulent site under a link that initially looks trusted. Second: A malicious marketing page automatically submits a subscription-cancellation form to a separate service using a visitor's existing authenticated browser session. Select TWO mechanisms directly represented here.
- Open redirect
- Stored cross-site scripting
- Reflected cross-site scripting
- Server-side request forgery
- Cross-site request forgery
Explanation
Correct Answers
A:Open redirects allow attacker-controlled destinations in a trusted application's navigation flow, which can aid phishing and token misrouting; this supports one of the required classifications, distinct from the evidence for cross-site request forgery.
E:CSRF exploits automatic credential attachment on cross-site requests; it does not require the attacker to read the victim's authenticated response; this supports one of the required classifications, distinct from the evidence for open redirect.
Incorrect Answers
B:Stored XSS persists attacker-controlled content server-side and delivers it to later viewers through unsafe rendering; the defining symptom in the prompt is associated with open redirect, cross-site request forgery instead.
C:Reflected XSS returns unsafely embedded input in the immediate server response; the payload does not need to be permanently stored by the application; the events given do not establish this behavior but do support open redirect, cross-site request forgery.
D:SSRF occurs when server-side code makes network requests to attacker-selected destinations, potentially crossing internal network or cloud trust boundaries; the reported conditions are characteristic of open redirect, cross-site request forgery, not that path.
Question 539
The testing team seeks a specific preventive recommendation for this finding: A small office's DHCP scope runs out of addresses after an access port receives thousands of requests carrying different apparent client identifiers from one connected device. What should be implemented?
- Apply switch port security and MAC learning limits
- Validate DNS replies and use trusted resolvers with secure transport where appropriate
- Configure DAI alongside correct DHCP snooping or static bindings
- Enable DHCP snooping and rate limits on untrusted access ports
Explanation
Correct Answer
D:Per-port request limits and trusted DHCP server ports reduce lease exhaustion and constrain DHCP-origin abuse at the access layer. It directly addresses this mechanism: DHCP starvation consumes address leases by presenting many apparent clients so legitimate machines cannot obtain a normal lease.
Incorrect Answers
A:Per-port learned-address limits reduce the ability of one physical connection to poison the forwarding table with fictitious sources; that change targets MAC address table flooding, while the confirmed weakness involves DHCP starvation.
B:DNSSEC and protected resolver channels reduce answer substitution, though transport encryption alone does not guarantee authoritative record correctness; it would improve DNS response spoofing, not directly correct the reported DHCP starvation issue.
C:Binding-based validation prevents spoofed neighbor mappings, but static-IP devices require suitable entries to avoid disrupting legitimate traffic; the measure addresses a different trust boundary from the DHCP starvation finding.
Question 540
The approved engagement produces this evidence: A user receives dozens of unexpected authentication approval notifications until one is approved just to stop the alerts. What is the correct technical interpretation?
- Spear phishing
- MFA push fatigue
- Smishing
- Synthetic-voice impersonation
Explanation
Correct Answer
B:Push bombing relies on repeated authentication prompts and user fatigue, sometimes combined with attacker contact, to gain an accidental approval. This is why teams should use number matching and phishing-resistant authentication with prompt anomaly alerts; challenge context and stronger factors reduce blind approvals, while alerting and throttling expose the repetitive abuse pattern.
Incorrect Answers
A:Spear phishing targets a specific person or group using tailored context rather than sending the same generic bait to a broad population; the events given do not establish this behavior but do support MFA push fatigue.
C:Smishing delivers phishing content through text messaging; the medium often creates pressure to follow a short link on a mobile device; those prerequisites differ from the MFA push fatigue behavior in the record.
D:AI-generated voice impersonation can mimic recognizable speech, so an apparent familiar voice is not sufficient identity proof; this would classify another type of evidence, whereas the actual finding shows MFA push fatigue.