A security analyst notices that an internal web server is receiving a large number of HTTP requests with unusually long and complex query strings, causing the server's CPU usage to spike. The requests appear to be targeting a search function. Which type of network incident is most likely occurring?
Trap 1: SQL injection
SQL injection involves inserting malicious SQL statements into input fields to manipulate a database. While it can cause server load, the scenario specifically mentions complex query strings targeting a search function and CPU spikes, which are more indicative of a denial-of-service attack. SQL injection typically aims to extract or modify data, not exhaust CPU.
Trap 2: Cross-site scripting (XSS)
XSS attacks inject malicious scripts into web pages viewed by other users. They do not typically cause a CPU spike on the server due to complex query strings. XSS targets the client's browser, not the server's processing resources. The scenario describes server-side resource exhaustion, which is not characteristic of XSS.
Trap 3: Directory traversal
Directory traversal aims to access files outside the web root by manipulating file paths. It does not typically cause a CPU spike through complex query strings. The attack is about unauthorized file access, not resource exhaustion. The scenario's symptoms point to a volumetric attack, not a file inclusion vulnerability.
- A
SQL injection
Why it fails: SQL injection involves inserting malicious SQL statements into input fields to manipulate a database. While it can cause server load, the scenario specifically mentions complex query strings targeting a search function and CPU spikes, which are more indicative of a denial-of-service attack. SQL injection typically aims to extract or modify data, not exhaust CPU.
- B
Cross-site scripting (XSS)
Why it fails: XSS attacks inject malicious scripts into web pages viewed by other users. They do not typically cause a CPU spike on the server due to complex query strings. XSS targets the client's browser, not the server's processing resources. The scenario describes server-side resource exhaustion, which is not characteristic of XSS.
- C
Directory traversal
Why it fails: Directory traversal aims to access files outside the web root by manipulating file paths. It does not typically cause a CPU spike through complex query strings. The attack is about unauthorized file access, not resource exhaustion. The scenario's symptoms point to a volumetric attack, not a file inclusion vulnerability.
- D
HTTP flood
An HTTP flood is a type of denial-of-service attack where the attacker sends many HTTP requests to overwhelm the server. The requests often target resource-intensive functions like search, with complex query strings to maximize CPU usage. The observed CPU spike and high volume of requests to a search function are classic signs of an HTTP flood.