Skip to content
Crypto Disclosed report Beginner

Lack of HSTS on https://apps.owncloud.com

The web server for apps.owncloud.com did not send the HTTP Strict Transport Security (HSTS) header. An attacker could potentially intercept unencrypted HTTP requests and redirect users to a malicious site, but the report does not demonstrate this.

prayas Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 6 months
  • Disclosed after 7 months

Hi,

There is lack of HSTS on you domain https://apps.owncloud.com

https://apps.owncloud.com/content/add.php

GET /content/add.php HTTP/1.1 Host: apps.owncloud.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: https://apps.owncloud.com/ Cookie: _ga=GA1.2.253154774.1440349970; __hstc=123946325.064f8833b677bb3f8fa92d275de0cf1c.1440349971890.1440349971890.1440443053275.2; hsfirstvisit=https%3A%2F%2Fowncloud.com%2F|https%3A%2F%2Fhackerone.com%2Fowncloud|1440349971889; hubspotutk=064f8833b677bb3f8fa92d275de0cf1c; _gat=1; __hssrc=1; __hssc=123946325.5.1440443053275; PHPSESSID=ja6a63hdb3ff617kqnm4luebk1 Connection: keep-alive Cache-Control: max-age=0

HTTP/1.1 200 OK Date: Mon, 24 Aug 2015 19:10:36 GMT Server: Apache/2.4.7 (Ubuntu) X-Powered-By: PHP/5.5.9-1ubuntu4.11 X-Frame-Options: SAMEORIGIN Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 3258 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html

More:

https://www.owasp.org/index.php/HTTP_Strict_Transport_Security

Regards, Prayas

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

What the attacker needed

None

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.

HSTS is a security header that tells browsers to always use a secure HTTPS connection to a site. Without it, a user might accidentally visit the site over an insecure HTTP connection, which an attacker on the same network could intercept and redirect to a fake site. This report simply notes the header is missing.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More from ownCloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.