Live data from Hacker News

Never Give Your Information To 10 Minute Old Startups

blog.ryankearney.com

11–20 of 185 posts

Re: Never Give Your Information To 10 Minute Old Startups

#11
I took a look at the team. Is it considered apropos to state how surprised you are that developers who come across as relatively senior are capable of making an incredibly fundamental security mistake such as this?

It looks like this was just the default Rails resource scaffolding.

Re: Never Give Your Information To 10 Minute Old Startups

#12

I took a look at the team. Is it considered apropos to state how surprised you are that developers who come across as relatively senior are capable of making an incredibly fundamental security mistake such as this? It looks like this was just the default Rails resource scaffolding.

> Is it considered apropos to state how surprised you are that developers who come across as relatively senior are capable of making an incredibly fundamental security mistake such as this?

Only if you're concerned that you can't tell who is "relatively senior." In this case, your judgement was unfortunately wrong.

Re: Never Give Your Information To 10 Minute Old Startups

#13
post #7

To be fair, the guy who owns that site did mention that it wasn't meant to be picked up by HN and was still in the early stages of development.

I have mixed feeling about this.

On one hand we all want to move quickly, get users, add new features, etc etc.

On the other, security issues like this are just so vital that nothing else really matter if your data is not secure. It's especially true for a BACKUP SERVICE that promises ridiculous stuff like "99.999999999%" uptime on the frontpage.

Re: Never Give Your Information To 10 Minute Old Startups

#14
I would recommend using CanCan for security if they haven't done so already so you can't just type in other users user_id in the url to view or edit. https://github.com/ryanb/cancan

Cancan is great way to make sure that you can only read or edit your own records in the database with Rails.

Re: Never Give Your Information To 10 Minute Old Startups

#16
if anyone else is having problems viewing this: it's a serious hole in icebox, the service featured here http://news.ycombinator.com/item?id=4619132

if you've used that service, the information you entered was publicly visible (key to access aws, etc) (the thread linked above says it has now been patched).

[i don't understand why, but when i access the link for this thread i get the gzipped page as a download; linux + chrome 22; firefox displays what appears to be gzipped data; wget saves the gzipped data as index.html; same behaviour for chrome on opensuse and ubuntu; windows 7 + ie9 (in a vm) shows the gzipped data in notebook; is no-one else seeing this?!]

[update: fixed now - it looks like it wasn't changing the content type]

Re: Never Give Your Information To 10 Minute Old Startups

#17
post #7

To be fair, the guy who owns that site did mention that it wasn't meant to be picked up by HN and was still in the early stages of development.

If it's accessible on the public internet and asks for something as secure as API keys, that is when you should worry about security, not when it's "meant to be picked up by HN".

Fair, but in any case, the ultimate responsibility still lies with the user's judgment.

Maybe if there was a service promised but not rendered, could you place full blame on the developer(s).

Re: Never Give Your Information To 10 Minute Old Startups

#18
post #14

I would recommend using CanCan for security if they haven't done so already so you can't just type in other users user_id in the url to view or edit. https://github.com/ryanb/cancan Cancan is great way to make sure that you can only read or edit your own records in the database with Rails.

Cancan probably wouldn't have prevented this. It's not because someone didn't use some library. The developer probably just did a User.find(params[:id]) instead of doing something like current_user from whatever authentication system they were using. He probably used the scaffolding generator to make everything and forgot to go back and ensure things are secure.

It's also interesting that the aws key/secret are "masked" on the page, but you can just visit http://www.iceboxpro.com/users/12.json and get the formatted json representation with no masking.

Re: Never Give Your Information To 10 Minute Old Startups

#19

if anyone else is having problems viewing this: it's a serious hole in icebox, the service featured here http://news.ycombinator.com/item?id=4619132 if you've used that service, the information you entered was publicly visible (key to access aws, etc) (the thread linked above says it has now been patched). [i don't understand why, but when i access the link for this thread i get the gzipped page as a download; linux…

What OS/Browser are you using?
Post reply on HN