Cesium website downgrades to http and raw IP address

42 views
Skip to first unread message

Tristan

unread,
Feb 21, 2018, 5:06:16 AM2/21/18
to cesium-dev
Firstly - apologies if this is posted in the wrong place.

1. A concise explanation of the problem you're experiencing.
The Cesium website Convert Model page forwards from https://cesiumjs.org/convertmodel.html -> http://52.4.31.236/convertmodel.html.

Notice both the https -> http downgrade, and the usage of a raw IP address.

Relevant info in the response:
Status Code: 302 Found

A side effect of this is that since it downgrades from https to http, the certificate chain no longer exists, so the user cannot verify that the page is being hosted by cesium, or is not otherwise hijacked.

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
Navigate to https://cesiumjs.org/convertmodel.html (the first result that pops up on google when searching "gltf converter"). Notice that you get forwarded to http://52.4.31.236/convertmodel.html.

This issue may exist for other pages, but this has not been investigated.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I want to upload files to the converter without them being viewed in plaintext by a third-party observer.
I want to know that the page I'm viewing has not been hijacked.

Implementing HTTP Strict Transport Security headers on the server would be nice, to ensure that an http downgrade will be rejected by the browser.

Gabby Getz

unread,
Feb 22, 2018, 4:54:26 PM2/22/18
to cesium-dev
Hi Tristan,

Thanks for pointing this out, this is indeed the correct place.

The model converter has not yet been migrated from a legacy host, it's in the process of being merged. We'll bump this post when it has been properly migrated.

Thanks,
Gabby

Tristan

unread,
Feb 23, 2018, 5:09:02 AM2/23/18
to cesium-dev
Good to know, thanks for the explanation!

Tristan
Reply all
Reply to author
Forward
0 new messages