coreruleset / coreruleset/modsecurity-crs-docker

owasp crs sandbox have TRACE enabled in apache

Open
#473 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
448
Forks
88
Avg merge
6m
Merged PRs (30d)
2

Description

Hi, that just a minor bug worth to fix

OPTIONS / HTTP/1.1
Host: sandbox.coreruleset.org
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:154.0) Gecko/20100101 Firefox/154.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.9
Accept-Encoding: gzip, deflate, br
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Max-Forwards: 0
x-crs-version: latest
x-crs-paranoia-level: 4
x-format-output: txt-matched-rules-extended
Priority: u=0, i
Te: trailers
Connection: keep-alive
Content-Length: 0

and then

HTTP/1.1 200 OK
Date: Tue, 08 Sep 2026 15:04:58 GMT
Content-Type: text/plain
Connection: keep-alive
X-Unique-ID: aqAkGqCugG_OVQ9wq6bKHwAAAE8
Allow: TRACE
x-backend: apache-latest
Content-Length: 167

This payload has been tested against the OWASP CRS web application firewall. 
The test was executed using the apache engine and CRS version latest.

No rules matched.

it reveal TRACE in the list, when setting Max-Forwards to 0, Trace need be disabled at the apache level

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report targets the Apache configuration behind the CRS sandbox and its handling of TRACE when Max-Forwards is 0. Start by locating the sandbox image's Apache configuration and reproduce the shown OPTIONS request; it is done when the response no longer advertises Allow: TRACE.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, docker
Domain
infrastructure, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.