A security analyst is reviewing web server access logs collected by a Security Information and Event Management (SIEM) system. The log stream displays the following entry:
`192.168.1.45 - - [27/Jul/2026:14:22:10 +0000] "GET /products.php?id=1%20UNION%20SELECT%20username,password%20FROM%20users-- HTTP/1.1" 200 452`
Which of the following attack types is directly indicated by this log entry?
- SQL injectionAnswer
- BCross-site scripting (XSS)
- CBroken authentication
- DSIEM correlation rule misconfiguration
Answer
SQL injection
The correct answer is SQL injection because the HTTP GET query string contains explicit database command syntax (`UNION SELECT username,password FROM users--`). This indicates an attacker attempting to bypass application input controls to exfiltrate database records.
Step-by-Step Solution
Key Concept
Log Identification of Web Application Attacks
Estimated Time:45s