News for hackers. Stuff that matters.
Re:Thoughts.page: hosting a small webpage for your thoughts by psychometry on Wednesday September 15, 2021 @10:19AM (#28539345)
>allowing people to use arbitrary HTML and JS was an intentional choice

Oh, you'll be reversing this choice VERY quickly if your product gets any traction, I assure you...

Re:Thoughts.page: hosting a small webpage for your thoughts by monkeynotes on Wednesday September 15, 2021 @11:15AM (#28540192)
I don't actually see a problem. It goes against my gut reaction but given the pages that are published are entirely isolated there is no more of a threat than someone publishing whatever they want on another web host. There is no user information to hijack, no cookies, no login buttons, no local storage, no auth etc.

Yes, the pages can publish illegal information, be set up as phishing hubs, but none of that is as a result of JS being executable. Web hosts all have exactly the same risks to deal with, their users can also host anything they wish.

The owner's challenge is with the content they are opening up to hosting, and it will become an overhead to police that. If they decide to add buttons like "report content" then those will be able to be hijacked by the publisher and become useless.

Re:Thoughts.page: hosting a small webpage for your thoughts by dharmab on Wednesday September 15, 2021 @12:13PM (#28540924)
Google will flag the entire domain in Safe Browsing. Unless you are a big company with a legal team, getting off the Safe Browsing flag list is a days or weeks long nightmare.
Re:Thoughts.page: hosting a small webpage for your thoughts by psychometry on Wednesday September 15, 2021 @01:19PM (#28541802)
How are they isolated if you can inject JS that downloads resources from anywhere else? I mean, just to start:

- You have no CSP header that I can see.

- You do expose the server version in the headers, though.

- The site is available at a non-SSL-secured domain.

- There's no X-Frame-Options, X-Permitted-Cross-Domain-Policies, etc.

Re:Thoughts.page: hosting a small webpage for your thoughts by monkeynotes on Wednesday September 15, 2021 @02:18PM (#28542465)
My point is, the service simply hosts HTML, ostensibly this is the same as any consumer web host. So whatever attack vector you can think of exists on Dreamhost or Godaddy pages, for instance.
Re:Thoughts.page: hosting a small webpage for your thoughts by psychometry on Wednesday September 15, 2021 @03:36PM (#28543392)
I understand, but you can't have it both ways: You can either build a minimal Twitter clone that limits user-submitted content and not worry too much about security/abuse, or you can build a web host. The latter entails a comparatively enormous amount of responsibility you don't seem keen to take on.
Re:Thoughts.page: hosting a small webpage for your thoughts by dharmab on Thursday September 16, 2021 @10:34AM (#28552348)
I have worked for companies that offered commercial web host services and it is a massive security undertaking. I'm still not 100% convinced it's possible to offer a profitable, truly secure web host without compromising on feature set.