A security analyst reviewing Network Intrusion Detection System (NIDS) alerts for an enterprise web server identifies multiple HTTP POST requests containing payload strings such as `<script>document.cookie</script>` submitted through an unauthenticated feedback form. Which of the following correctly identifies the type of attack detected by network monitoring?
- Cross-Site Scripting (XSS), which attempts to execute malicious scripts in a client's web browser sessionAnswer
- BSQL Injection (SQLi), which attempts to manipulate backend database queries through unvalidated form inputs
- CBuffer Overflow, which attempts to overwrite system memory registers on the web server host
- DHoneypot redirection, which automatically filters and traps malicious web traffic into an inline isolation sandbox
Answer
Cross-Site Scripting (XSS), which attempts to execute malicious scripts in a client's web browser session
The alert payload contains `<script>` tags and JavaScript properties (`document.cookie`), which are classic indicators of a Cross-Site Scripting (XSS) attack. XSS targets client browsers that render untrusted user input without sanitization.
Step-by-Step Solution
Key Concept
Identifying web application attack signatures in Network Security Monitoring (NSM) alerts