Question 510
The approved test uncovered this weakness: Unexpected DNS queries originate from a database server shortly after hostile SQL inputs reach a reporting application, implying the database can make outbound requests. Which control would reduce the relevant exposure without relying on obscurity?
- Require encrypted browser connections without constraining database DNS access
- Restrict database outbound network paths and eliminate dynamic SQL concatenation
- Filter visible response content while continuing to concatenate SQL identifiers
- Hide SQL error messages but leave database network egress unrestricted
Explanation
Correct Answer
B:Bound queries prevent injected operations; controlled egress reduces the chance that a database can contact arbitrary external receivers. That correction is linked to the fact that out-of-band SQL injection extracts evidence through a separate network channel, often DNS or HTTP, when direct response content cannot carry query results.
Incorrect Answers
A:HTTPS protects transport to the application but does not constrain a database process that can initiate external requests; the out-of-band SQL injection weakness in the question therefore remains uncorrected.
C:Out-of-band extraction does not need sensitive content to appear in the HTTP response; server-side SQL safety remains necessary; the out-of-band SQL injection weakness in the question therefore remains uncorrected.
D:An out-of-band channel can transmit evidence through outbound lookups without displaying an exception to the client; the out-of-band SQL injection weakness in the question therefore remains uncorrected.
Question 511
Operations asks for a practical correction after the test found: An operations team relies on a perimeter SQL attack signature while vulnerable application code still constructs queries from user-controlled string concatenation. What should the security team recommend?
- Block semicolons at the proxy and leave all other raw query input unchanged
- Add more SQL signature patterns to the firewall while keeping query concatenation
- Suppress database errors but keep building SQL with untrusted strings
- Fix query construction in application code and retain WAF as defense in depth
Explanation
Correct Answer
D:Parameterization addresses the interpretation flaw at its source; upstream filtering cannot guarantee that every harmful SQL expression is detected. The specific weakness being corrected is that WAF rules are supplemental pattern and behavior controls; alternate encodings or novel query shapes can evade signatures while the code defect remains.
Incorrect Answers
A:A punctuation filter does not address numerous SQL payloads that do not require stacked statements; the WAF-only injection defense weakness in the question therefore remains uncorrected.
B:Signature coverage can be bypassed and does not repair the server-side data-to-SQL interpreter boundary; the WAF-only injection defense weakness in the question therefore remains uncorrected.
C:Removing visible errors cannot stop boolean, time, UNION, or other injection behavior in a vulnerable query; the WAF-only injection defense weakness in the question therefore remains uncorrected.
Question 512
A reviewer must label three distinct findings: An internal web service fetches arbitrary URLs and can reach the local instance-metadata endpoint that supplies temporary workload credentials. A second record says: A Kubernetes workload receives access to the host process namespace and writable node filesystem mounts, allowing a compromised process to reach beyond the intended container isolation. A third record states: A cloud incident team cannot determine who created unexpected IAM access keys because management API activity was excluded from the organization's retained audit stream. Select THREE matching technical concepts.
- Kubernetes RBAC escalation
- Public object storage exposure
- Cloud metadata SSRF
- Container runtime escape
- Cloud posture drift
- Cloud audit logging gap
Explanation
Correct Answers
C:Metadata-service requests from a vulnerable server can turn SSRF into credential exposure when untrusted URLs can reach the instance's local metadata interface; this supports one of the required classifications, distinct from the evidence for container runtime escape, cloud audit logging gap.
D:Container isolation relies on kernel boundaries and runtime restrictions; privileged mode and host mounts deliberately weaken that separation; this technical behavior accounts for the container runtime escape observation, while cloud metadata SSRF, cloud audit logging gap concerns the other independent evidence.
F:Cloud control-plane audit trails record resource and identity operations; without centralized retention, policy changes can escape meaningful attribution; its indicators are tied to the cloud audit logging gap record, not to the finding involving cloud metadata SSRF, container runtime escape.
Incorrect Answers
A:Kubernetes RBAC controls API operations on resource types and scopes; excessive role-binding authority can indirectly yield broad cluster privileges; the test record points specifically to cloud metadata SSRF, container runtime escape, cloud audit logging gap, not this separate mechanism.
B:Public object permissions expose stored data independently of whether the bucket name is difficult to guess; link obscurity does not enforce authorization; that behavior is distinct from the cloud metadata SSRF, container runtime escape, cloud audit logging gap finding being classified.
E:Cloud posture drift occurs when deployed configuration departs from defined policy through manual edits or automated infrastructure changes; the events given do not establish this behavior but do support cloud metadata SSRF, container runtime escape, cloud audit logging gap.
Question 513
As part of a sanctioned audit, a reviewer observes: Attackers repeatedly send spoofed deauthentication frames and disconnect clients on a WLAN that does not protect management traffic. Which behavior is illustrated?
- Evil-twin access point
- Hidden SSID misconception
- Protected management frames
- TKIP legacy cipher
Explanation
Correct Answer
C:Unprotected management frames can be forged to disrupt client associations; 802.11w PMF adds protection to specified robust management frames. This is why teams should require PMF on compatible managed wireless networks; protected management frames reduce spoofed deauthentication and disassociation attacks, though they do not prevent radio-frequency jamming.
Incorrect Answers
A:An evil twin imitates a legitimate wireless network's identity to intercept associations or lead clients into fraudulent authentication and traffic paths; that behavior is distinct from the protected management frames finding being classified.
B:A hidden SSID is not cryptographic protection; association traffic and other wireless management exchanges can still reveal network identifiers; the scenario identifies protected management frames, which has a different triggering condition.
D:TKIP was a transitional WPA mechanism and has weaknesses and compatibility limitations compared with modern CCMP-based encryption; the events given do not establish this behavior but do support protected management frames.
Question 514
During a documented lab review, an analyst notes: An update is rejected because its signing certificate does not match the publisher identity of the currently installed application. What mechanism should be recorded?
- Mobile dynamic analysis
- Mobile app signature verification
- Cleartext mobile API traffic
- iOS entitlement control
Explanation
Correct Answer
B:Package signatures bind installed mobile code to a signing identity and help prevent arbitrary third parties from replacing an app during updates. The appropriate hardening measure is to protect release signing keys and verify signatures in the deployment pipeline, since secure key custody preserves update continuity and makes unauthorized package substitution harder to distribute as a trusted upgrade.
Incorrect Answers
A:Dynamic mobile analysis observes application behavior during execution; it complements static inspection but may miss conditions tied to real hardware; the scenario identifies mobile app signature verification, which has a different triggering condition.
C:Cleartext traffic exposes credentials and session data to local network observers or malicious intermediaries because confidentiality and server authentication are absent; the events given do not establish this behavior but do support mobile app signature verification.
D:iOS entitlements specify permitted platform capabilities and form part of the code-signing trust model; a valid signature does not grant every protected operation; the reported conditions are characteristic of mobile app signature verification, not that path.
Question 515
The assessor confirmed this exposure: A mirrored-port security monitor correctly alerts on exploit packets but has no mechanism to interrupt the ongoing connection or isolate the victim without a separate control. Which change most directly closes the underlying security gap?
- Use approved endpoint telemetry or controlled TLS inspection when justified
- Deploy protected endpoint telemetry on critical hosts
- Tune baselines using service context and investigate deviations
- Add inline enforcement or rapid automated containment where prevention is required
- Normalize fragments and match sensor reassembly behavior to endpoints
Explanation
Correct Answer
D:Detection-only monitoring cannot guarantee packet blocking; a correctly placed prevention control is needed in the forwarding path. The safeguard responds to the underlying issue: a passive NIDS observes copies of traffic and emits alerts, normally lacking a direct inline ability to drop the original packets.
Incorrect Answers
A:Instrumenting the endpoint or authorized termination point recovers necessary context without assuming a passive sensor can decrypt arbitrary TLS; that change targets encrypted traffic blind spot, while the confirmed weakness involves passive network IDS.
B:Local observation reveals execution and integrity changes not visible from perimeter traffic alone, especially when sessions are encrypted; it would improve host-based intrusion detection, not directly correct the reported passive network IDS issue.
C:Context-aware thresholds improve signal quality while preserving visibility into behavior that does not match a known static signature; the measure addresses a different trust boundary from the passive network IDS finding.
E:Consistent stream reconstruction prevents an attacker from hiding payload bytes in packet divisions that only the protected host interprets; its security benefit applies principally to IP fragmentation evasion, not the defect described; the tested fault instead involves passive network IDS.
Question 516
As part of a sanctioned audit, a reviewer observes: A directory allows an unauthenticated bind and returns internal group membership attributes to an outside client. Which behavior is illustrated?
- LDAP directory query
- SMTP EXPN group expansion
- Kerberos SPN listing
- Anonymous LDAP bind
Explanation
Correct Answer
D:Anonymous bind behavior depends on directory configuration; exposing membership attributes enables reconnaissance without granting an application login. A targeted mitigation is to require authenticated binds and restrict readable directory attributes; authentication and attribute-level authorization stop unauthenticated collection of membership information while retaining approved application queries.
Incorrect Answers
A:LDAP searches retrieve structured directory entries under a configured base distinguished name; server ACLs decide which attributes a principal can read; the events given do not establish this behavior but do support anonymous LDAP bind.
B:SMTP EXPN may reveal distribution-list membership and addresses when the gateway permits expansion to untrusted requesters; the reported conditions are characteristic of anonymous LDAP bind, not that path.
C:SPNs bind service identities to Kerberos names; directory enumeration can identify service accounts but does not by itself reveal their passwords; those prerequisites differ from the anonymous LDAP bind behavior in the record.
Question 517
Operations asks for a practical correction after the test found: The corporate access switch starts assigning new laptops an unfamiliar DNS resolver and gateway because a rogue service began answering address-configuration requests first. What should the security team recommend?
- Use DNSSEC validation where supported and restrict resolver recursion
- Disable legacy broadcast name resolution where business applications permit
- Trust only approved DHCP uplinks through switch DHCP snooping
- Enable RA Guard and monitor authorized IPv6 routers
Explanation
Correct Answer
C:Filtering server replies on user-facing ports prevents unauthorized devices from assigning gateway and resolver settings to clients. This matters for the observed attack path because rogue DHCP replies can provide malicious network settings that redirect subsequent name resolution and traffic even without changing host applications.
Incorrect Answers
A:Cryptographic validation rejects forged signed data, while scoped recursion and query protections narrow the attack surface of caching resolvers; the proposed improvement would make sense for DNS resolver poisoning but not as the main fix here; the tested fault instead involves rogue DHCP server.
B:Reducing NBNS dependence prevents unauthenticated local responses from steering clients toward an impersonated file or authentication service; the specific root cause belongs to rogue DHCP server, beyond this control's intended scope.
D:Switch filtering for unauthorized advertisements protects host routing decisions while retaining legitimate IPv6 neighbor and router discovery; it would improve IPv6 router-advertisement spoofing, not directly correct the reported rogue DHCP server issue.
Question 518
The asset owner wants to stop the verified condition recurring: An office router lets a connected laptop create internet-facing mappings to local administration ports through automatic port mapping that the organization does not need. What is the most targeted improvement?
- Use secure commissioning and device-specific join procedures
- Enable supported DNP3 secure authentication and tightly manage control keys
- Disable unnecessary UPnP mapping or strictly constrain authorized clients
- Use DTLS or OSCORE where device capabilities and deployment permit
Explanation
Correct Answer
C:Explicit port-forwarding policy prevents untrusted devices from silently publishing internal services through the edge gateway. It targets the actual failure mode: UPnP IGD can automate NAT port mappings; overly permissive control or exposure may open unintended paths from external networks.
Incorrect Answers
A:Verified joining limits rogue devices and prevents a shared public commissioning secret from undermining mesh admission security; the required correction concerns exposed UPnP forwarding, so this is not the targeted control.
B:Authenticated commands reduce spoofing of control operations, with segmentation still required for legacy devices and unsupported functions; its security benefit applies principally to DNP3 secure authentication, not the defect described; the tested fault instead involves exposed UPnP forwarding.
D:Appropriate message protection reduces interception and command forgery for constrained devices while acknowledging resource limitations; the action is aimed at CoAP plaintext exchange; it leaves the central exposed UPnP forwarding condition unresolved.
Question 519
The tester submits the following verified finding: A critical login endpoint became unusable under abusive request volume, but no records were observed being read or modified. Which technique or condition is involved?
- Evidence chain of custody
- Confidentiality
- Availability
- Data minimization in testing
Explanation
Correct Answer
C:Availability means authorized users can reach required services when needed. Exhausted capacity can violate this property even without evidence of data theft or corruption. The appropriate hardening measure is to apply capacity protection and traffic throttling at the service edge, since rate controls and upstream resilience address resource exhaustion, unlike confidentiality controls that govern who can read protected content.
Incorrect Answers
A:Chain of custody tracks who controlled evidence and when, while integrity hashes can demonstrate whether its contents changed between collection and analysis; this would classify another type of evidence, whereas the actual finding shows availability.
B:Confidentiality protects information against unauthorized disclosure; a system can preserve availability and integrity while still failing to restrict who reads sensitive material; the relevant mechanism in the observed workflow is availability instead.
D:Minimization limits collection to evidence needed to establish impact; copying sensitive records increases exposure and custody obligations without strengthening the vulnerability demonstration; the case demonstrates availability rather than the alternate mechanism.
Question 520
A follow-up review must reduce the risk revealed here: An application safely stores user-supplied profile values but later builds an elevated reporting query using those stored strings as trusted SQL syntax. Which defensive measure fits the specific failure mode?
- Validate a profile field only when it is first submitted and then trust its stored value
- Use an ORM in the registration form but leave the reporting SQL concatenated
- Parameterize every query using stored values as well as direct request data
- Suppress reporting-page error details instead of fixing the report query
Explanation
Correct Answer
C:Earlier storage does not make input trusted; safe binding must be maintained when the value is later reused in SQL. The technical basis for the recommendation is that second-order injection occurs when previously stored untrusted data becomes executable SQL syntax in a later, different processing step.
Incorrect Answers
A:Stored strings can later enter a different SQL context; initial validation does not replace binding at every query sink; the second-order SQL injection weakness in the question therefore remains uncorrected.
B:A safe write operation does not automatically protect the later privileged read that reuses the stored value; the second-order SQL injection weakness in the question therefore remains uncorrected.
D:Hidden exceptions do not stop previously stored attacker-controlled data from changing downstream SQL behavior; the second-order SQL injection weakness in the question therefore remains uncorrected.