Skip to content
Info disclosure Disclosed report Beginner

Option Method Enabled on web server

The web server responded to an OPTIONS request by advertising which HTTP methods it accepts, including TRACE. The reporter claims this discloses information about the target system, though no concrete exploitation is shown.

ruisilva Follow

Originally disclosed on HackerOne

  • Disclosed after 50 days

Vuln Details:

I detected that OPTIONS method is allowed. This issue is reported as extra information.

Impact: Information disclosed from this page can be used to gain additional information about the target system

Remedy: Disable OPTIONS method in all production systems.

POC:

REQUEST:

OPTIONS /includes/ HTTP/1.1 Cache-Control: no-cache Referer: https://dev.twitter.com/robots.txt Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.170 Safari/537.36 Netsparker Accept-Language: en-us,en;q=0.5 X-Scanner: Netsparker Host: dev.twitter.com Accept-Encoding: gzip, deflate

RESPONSE:

HTTP/1.1 200 OK accept-ranges: bytes age: 0 allow: POST,OPTIONS,GET,HEAD,TRACE cache-control: max-age=86400 content-length: 0 content-type: httpd/unix-directory

The original report as published on HackerOne, by ruisilva. 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 server is configured to answer OPTIONS requests and advertise its allowed methods, including TRACE, rather than restricting them.

Impact

The response could reveal which HTTP methods the server supports, which may help an attacker plan further attacks, but no direct exploitation is shown.

What the attacker needed

None

The fix

The OPTIONS method should be disabled on production systems, as the reporter recommends.

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.

Web servers can be asked which actions (HTTP methods) they support. The OPTIONS method is one way to ask. The server replied with a list of allowed methods, which the reporter says reveals too much about the system, but no actual harm is demonstrated.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by ruisilva

View all

7 more disclosed reports, best first.

More from X / xAI

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.