Live data from Hacker News

We spent $20 to achieve RCE and accidentally became the admins of .mobi

labs.watchtowr.com

151–160 of 391 posts

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#151

Earlier quoted context omitted.

Always use subdomains. Businesses only ever need a single $10 domain for their entire existence.

I think it's a sane practice to keep the marketing landing page on a separate domain than the product in case of SaaS.

Why? I always get frustrated when I end up in some parallel universe of a website (like support or marketing) and I can't easily click back to the main site.

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#152

Earlier quoted context omitted.

Always use subdomains. Businesses only ever need a single $10 domain for their entire existence.

I think it's a sane practice to keep the marketing landing page on a separate domain than the product in case of SaaS.

Could you elaborate on why? The companies I have worked for have pretty much all used domain.com for marketing and app.domain.com for the actual application. What's wrong with this approach?

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#153
post #87

Earlier quoted context omitted.

Our industry does not argue about code style. There were a few distinct subcultures which were appropriated by the industry who used to argue about code style, lisp-1 vs lisp-2, vim vs emacs, amiga vs apple, single pass vs multi pass compilers, Masters of Deception vs Legion of Doom and the list goes on, depending on the subculture. The industry is profit driven.

> > Our industry argues about code style (: > Our industry does not argue about code style. QED

Our industry does not argue about arguing about code style.

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#154
post #57

>The first bug that our retrospective found was CVE-2015-5243. This is a monster of a bug, in which the prolific phpWhois library simply executes data obtained from the WHOIS server via the PHP ‘eval’ function, allowing instant RCE from any malicious WHOIS server. I don't want to live on this planet anymore

As has been demonstrated many, many (many, many (many many many many many...)) times: there is no such thing as computer security. If you have data on a computer that is connected to the Internet, you should consider that data semi-public. If you put data on someone else's computer, you should consider that data fully public. Our computer security analogies are modeled around securing a home from burglars, but the ac…

> As has been demonstrated many, many (many, many (many many many many many...)) times: there is no such thing as computer security.

Of course there is, and things are only getting more secure. Just because a lot of insecurity exists doesn't mean computer security isn't possible.

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#155
post #134
post #123

Earlier quoted context omitted.

JavaScript land fares little better. IMO it’s because php and js are so easy to pick up for new programmers. They are very forgiving, and that leads to… well… the way that php and js is…

The saving grace of JS is that the ecosystem had a reset when React came out; there's plenty of horrifying JQuery code littering the StackOverflow (and Experts Exchange!) landscape, but by the time React came around, Backbone and other projects had already started to shift the ecosystem away from "you're writing a script" to "you're writing an application," so someone searching "how do I do X react" was already a hug…

Laravel, maybe. But not as much as React, or the other myriad JS frontend frameworks.

(to include the ones that appeared in the time I spent typing this post)

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#156
post #129

Earlier quoted context omitted.

This is why PHP is mostly banned at bigCo

You're saying all big companies ban whole language ecosystem because somebody on the internet used one function in that language in knowingly unsafe manner contrary to all established practices and warnings in the documentation? This is beyond laughable.

Laughable, but accurate.

Google for example does exactly this.

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#157
post #87

Earlier quoted context omitted.

Our industry does not argue about code style. There were a few distinct subcultures which were appropriated by the industry who used to argue about code style, lisp-1 vs lisp-2, vim vs emacs, amiga vs apple, single pass vs multi pass compilers, Masters of Deception vs Legion of Doom and the list goes on, depending on the subculture. The industry is profit driven.

Do you use tabs or spaces? Just joking, but: The point is that our industry has a lot of opinionated individuals that tend to disagree on fundamentals, implementations, designs, etc., for good reasons! That's why we have thousands of frameworks, hundreds of databases, hundreds of programming languages, etc. Not everything our industry does is profit driven, or even rational.

FWIW, all my toy languages consider U+0009 HORIZONTAL TABULATION in a source file to be an invalid character, like any other control character except for U+000A LINE FEED (and also U+000D CARRIAGE RETURN but only when immediately before a LINE FEED).

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#158
I think the whole computer approach is doomed to failure. It relies on perfect security that is supposed to be achieved by SBOM checking and frequent updates.

That is never going to work. Even log4j, 40% of all downloads are vulnerable versions. Much less when a vendor in a chain goes out of business or stops maintaining a component.

Everything is always going to be buggy and full of holes, just like our body is always full of battlefields with microbes.

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#159

Earlier quoted context omitted.

This is why PHP is mostly banned at bigCo

Pretty sure there's plenty of PHP at Amazon and Facebook (just with slightly different names)

I can *assure* you that php is expressly prohibited for use at Amazon.

Re: We spent $20 to achieve RCE and accidentally became the admins of .mobi

#160

>The first bug that our retrospective found was CVE-2015-5243. This is a monster of a bug, in which the prolific phpWhois library simply executes data obtained from the WHOIS server via the PHP ‘eval’ function, allowing instant RCE from any malicious WHOIS server. I don't want to live on this planet anymore

Have you ever witnessed a house being built? Everywhere is the same :) At least in our industry these issues are generally not life-threatening.
Post reply on HN