Skip to content
Misconfiguration Disclosed report Beginner

HTTP trace method is enabled on gip.rocks

The server responds to HTTP TRACE requests, which can lead to cross-site tracing attacks.

a0xnirudh Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 1 hour
  • Fixed in 2 months
  • Disclosed after 2 months

Hello,

HTTP TRACE method is enabled on your server which should not be enabled. It can lead to cross site tracing !

Cross site tracing: https://www.owasp.org/index.php/Cross_Site_Tracing

curl -X TRACE http://gip.rocks/ -vv
* Hostname was NOT found in DNS cache
*   Trying 184.73.218.93...
* Connected to gip.rocks (184.73.218.93) port 80 (#0)
> TRACE / HTTP/1.1
> User-Agent: curl/7.35.0
> Host: gip.rocks
> Accept: */*
> 
< HTTP/1.1 200 OK
< Connection: keep-alive
* Server gunicorn/18.0 is not blacklisted
< Server: gunicorn/18.0
< Date: Sat, 04 Feb 2017 10:59:49 GMT
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=UTF-8
< Via: 1.1 vegur
< 

Mitigation:

Disable TRACE method support on your server.

The original report as published on HackerOne, by a0xnirudh. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the web server (gunicorn) is configured to allow the TRACE method by default or without restriction.

Impact

An attacker could potentially perform cross-site tracing to steal sensitive information, though the report does not demonstrate a full exploit.

What the attacker needed

Server allows TRACE method

The fix

Disable TRACE method support on the server.

How it was found

  1. Send a TRACE request to the server using curl.
  2. Observe that the server responds with a 200 OK status.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

HTTP TRACE is a diagnostic method that echoes back the request. If enabled, it can lead to cross-site tracing.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by a0xnirudh

View all

5 more disclosed reports, best first.

More from Gratipay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.