During a security monitoring shift, an analyst reviews the following alert log snippet generated by a perimeter Network Intrusion Detection System (NIDS) inspecting traffic directed at an internal web application server:
[ALERT] 2026-07-27 14:12:08 UTC - NIDS-Rule-90421
Src: 198.51.100.44:48210 -> Dst: 172.16.10.15:443
Payload snippet: POST /catalog/search HTTP/1.1
Body: item=widget' UNION SELECT username, password_hash FROM user_credentials--
Based on this alert payload and monitoring data, which of the following correctly identifies the attack type and the appropriate analyst action?
- Identify the attack as SQL Injection (SQLi) aimed at extracting backend database records, and initiate containment by blocking the source IP or reviewing backend query logs.Answer
- BIdentify the attack as Cross-Site Scripting (XSS) designed to execute client-side scripts in user browsers, and update Content Security Policy (CSP) headers.
- CClassify the NIDS alert as a failure of a preventive control because the NIDS did not automatically block and drop the incoming TCP connection inline.
- DMitigate the vulnerability by implementing network perimeter firewall rules that permanently block inbound traffic on port 443.
Answer
Identify the attack as SQL Injection (SQLi) aimed at extracting backend database records, and initiate containment by blocking the source IP or reviewing backend query logs.
The alert payload explicitly shows SQL commands ('UNION SELECT... FROM user_credentials') injected into an HTTP POST request parameter. This confirms a SQL injection attack targeting backend database confidentiality. Because a NIDS is a detective monitoring control, alerting security analysts to initiate containment (such as IP blocks or database log analysis) is the appropriate operational response.
Step-by-Step Solution
Key Concept
NIDS Log Payload Analysis and Incident Identification
Estimated Time:1m 30s