CWE-444

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.

Mitigation

Phase: Implementation

Description:

  • Use a web server that employs a strict HTTP parsing procedure, such as Apache [REF-433].
Mitigation

Phase: Implementation

Description:

  • Use only SSL communication.
Mitigation

Phase: Implementation

Description:

  • Terminate the client session after each request.
Mitigation

Phase: System Configuration

Description:

  • Turn all pages to non-cacheable.
CAPEC-273: HTTP Response Smuggling

['An adversary manipulates and injects malicious content in the form of secret unauthorized HTTP responses, into a single HTTP response from a vulnerable or compromised back-end HTTP agent (e.g., server).', 'See CanPrecede relationships for possible consequences.']

CAPEC-33: HTTP Request Smuggling

['An adversary abuses the flexibility and discrepancies in the parsing and interpretation of HTTP Request messages using various HTTP headers, request-line and body parameters as well as message sizes (denoted by the end of message signaled by a given HTTP header) by different intermediary HTTP agents (e.g., load balancer, reverse proxy, web caching proxies, application firewalls, etc.) to secretly send unauthorized and malicious HTTP requests to a back-end HTTP agent (e.g., web server).', 'See CanPrecede relationships for possible consequences.']

Back to CWE stats page