Http Trace Enabled

Description

This detector identifies web servers that have the HTTP TRACE method enabled, which can expose sensitive information and enable cross-site tracing attacks. The TRACE method allows attackers to bypass httpOnly cookie protections and potentially access authentication credentials or session tokens.

Weakness:

044 - Insecure HTTP methods enabled

Category: Protocol Manipulation

Detection Strategy

    Sends an HTTP TRACE request to the target URL

    Checks if the server responds with HTTP status code 200 (OK)

    Verifies that the response body contains the text 'TRACE', indicating the method is enabled and echoing back the request

    Reports a vulnerability when all three conditions are met: successful TRACE request, 200 status code, and 'TRACE' text in response body