Skip to content
XSS Disclosed report Beginner

Option method enabled

The report notes that the HTTP OPTIONS method is enabled on several Weblate hosts and returns a 200 response. It does not show any concrete harm an attacker could cause beyond the method being available.

hurthearts Follow

Originally disclosed on HackerOne

Informational View original
  • Fixed in 27 hours
  • Disclosed after 30 hours

Description HTTP OPTIONS method is enabled.

Affected URL : https://demo.weblate.org/ https://weblate.org/en/ https://hosted.weblate.org

PoC curl -X OPTIONS https://hosted.weblate.org -vv

Output

aku@galau:~$ curl -X OPTIONS https://hosted.weblate.org -vv
* Rebuilt URL to: https://hosted.weblate.org/
*   Trying 77.78.107.252...
*   Trying 2001:1528:136:dead:beef:4242:0:30...
* Immediate connect fail for 2001:1528:136:dead:beef:4242:0:30: Network is unreachable
* Connected to hosted.weblate.org (77.78.107.252) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 704 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* 	 server certificate verification OK
* 	 server certificate status verification SKIPPED
* 	 common name: hosted.weblate.org (matched)
* 	 server certificate expiration date OK
* 	 server certificate activation date OK
* 	 certificate public key: RSA
* 	 certificate version: #3
* 	 subject: CN=hosted.weblate.org
* 	 start date: Tue, 21 Mar 2017 22:13:00 GMT
* 	 expire date: Mon, 19 Jun 2017 22:13:00 GMT
* 	 issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3
* 	 compression: NULL
* ALPN, server accepted to use http/1.1
> OPTIONS / HTTP/1.1
> Host: hosted.weblate.org
> User-Agent: curl/7.43.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: nginx
< Date: Sat, 20 May 2017 10:57:28 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept-Encoding
< Vary: Accept-Encoding
< X-XSS-Protection: 1; mode=block
< Content-Security-Policy: default-src 'self'; style-src 'unsafe-inline' 'self'; img-src stats.cihar.com 'self'; script-src 'unsafe-inline' stats.cihar.com 'self'; connect-src 'self'; object-src 'none'; child-src 'none'; frame-ancestors 'none';
< Content-Language: en
< Vary: Cookie, Accept-Language
< ETag: "2e34db48979ddcc32e17218e269fa41f"
< X-Frame-Options: SAMEORIGIN
< Set-Cookie: csrftoken=HFmatIka7TfftqL640ZC0JKQsRTMCjYejpfLZixD5fXDqCK956ylu34JchMKF7VT; expires=Sat, 19-May-2018 10:57:28 GMT; httponly; Max-Age=31449600; Path=/; secure
< Strict-Transport-Security: max-age=31536000; includeSubdomains;
< X-Content-Type-Options: nosniff
< 

Reference

https://hackerone.com/reports/8184 https://hackerone.com/reports/182265

Thanks

The original report as published on HackerOne, by hurthearts. 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

Impact

The report shows no real impact; it only demonstrates that the server answers an OPTIONS request and lists the response headers.

What the attacker needed

None

How it was found

  1. Send an OPTIONS request to the target host.
  2. Observe that the server replies with a 200 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.

Every web server understands a set of request types called methods, such as GET to fetch a page or POST to send data. OPTIONS is one of them and simply asks the server which methods it allows. Having it enabled is normal and usually harmless; this report only shows that the server answers such a request.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by hurthearts

View all

1 more disclosed report, best first.

More from Weblate

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.