Average response header size reduced

firetail:average-response-header-size-reduced

Type:

Detection

Rule Severity:

Info

The average response header size during a given period was <= the mean average - one standard deviation of the preceding period.

The average response header size of the API during a given period is significantly lower than the mean average of the preceding period, reduced by one standard deviation. Response headers typically contain essential metadata about the response, such as content type, length, caching information, and other necessary details. A sudden decrease in response header size could indicate issues such as missing or incomplete headers, misconfigurations, or potential security concerns. It could also be a sign of abnormal behavior in the API or its communication protocols.

Remediation

Investigate what has caused the response headers sent to this API to decrease significantly in size.

Example Attack Scenario

A malicious actor may target a vulnerability that relies on missing or improperly configured response headers. For example, if security headers such as X-XSS-Protection or Strict-Transport-Security are removed or not sent due to the reduced header size, the API could become vulnerable to attacks like Cross-Site Scripting (XSS) or man-in-the-middle (MITM) attacks. Additionally, reduced headers could indicate a configuration error, which might cause unexpected behaviors, such as a failure to properly authenticate or authorize users. This could open the API up to unauthorized access or other malicious activities.

How to Identify with Example Scenario

How to Resolve with Example Scenario

How to Identify with Example Scenario

Find the text in bold to identify issues such as these in API specifications

How to Resolve with Example Scenario

Modify the text in bold to resolve issues such as these in API specifications
References:

More findings

All Findings