file-disable-http-trace-method: Disable Apache2 HTTP TRACE Method

日期: 2025-08-01 | 影响软件: Apache2 | POC: 已公开

漏洞描述

The HTTP TRACE method should be disabled to prevent Cross-Site Tracing (XST) attacks.

PoC代码[已公开]

id: file-disable-http-trace-method

info:
  name: Disable Apache2 HTTP TRACE Method
  author: pussycat0x
  severity: high
  description: |
    The HTTP TRACE method should be disabled to prevent Cross-Site Tracing (XST) attacks.
  remediation: |
    Add 'TraceEnable Off' in the Apache configuration file and restart the service.
  reference:
    - https://httpd.apache.org/docs/2.4/mod/core.html#traceenable
  metadata:
    verified: true
  tags: audit,config,file,apache,hardening

file:
  - extensions:
      - conf

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<Directory"
          - "<FilesMatch"
        condition: and

      - type: word
        words:
          - "TraceEnable On"
          - "<IfModule mod_core.c>"
        condition: and
        negative: true
# digest: 4a0a004730450221008c842e49c2a92d3ba5eea4686c3825c57fff34411e2aab1055eae3598efbac5e022027fbc59986fc1a022bcd7a05bca6ccef29c069315c23320aa9c52127eedfeff5:922c64590222798bb761d5b6d8e72950

相关漏洞推荐