News for hackers. Stuff that matters.
Re:I found a security issue on a competitor, got fired and s... by jorgesborges on Wednesday March 16, 2022 @11:00PM (#30707160)
He didn’t exactly stop. He could have quit poking around once alarm bells started ringing but he wanted to see how bad it got so he continued to poke around. Knowing when to stop should probably be a white-hat quality.
Re:I found a security issue on a competitor, got fired and s... by tedk-42 on Wednesday March 16, 2022 @11:25PM (#30707326)
Poking around is exactly how you determine how severe the vulnerability is.

Simple data extraction is hardly a outside the what a white hat hacker should do. If there's an API endpoint that returns say, `user.name`, it's reasonable to try other things like `user.email` or `user.credit-card` to see what else could be do BEFORE reporting it.

It might be totally valid to return `user.name` where `name` is simply the first name. But you'd never know unless you actually tried a few more endpoints.

I agree with a parent comment in that someone dropped the ball here and threw him under the bus to protect reputations and prevent any nastiness between the two companies.

Re:I found a security issue on a competitor, got fired and s... by tptacek on Wednesday March 16, 2022 @11:35PM (#30707395)
No. Simple data extraction is what a contracted penetration tester does, because they secured (here's that word again) a contract that limits their liability when doing simple data extraction. Poking around to find out how severe a vulnerability might be is how you manage to get yourself in civil trouble even when you're testing a site that runs a bug bounty; god help you if you're doing it on a site that doesn't have one, or, worse, hasn't really ever heard of one.

People share a lot of really bad advice about security research. The best advice you'll get from people that don't work in the field is "stay away" and "don't try to help"; it's cynical, but at least it's not going to get you sued, like following this kind of "poking around is a white hat norm" advice will.

Re:I found a security issue on a competitor, got fired and s... by paxys on Wednesday March 16, 2022 @11:51PM (#30707478)
You can get into legal trouble simply by looking at the source code of a web page you are browsing, as has happened in several famous recent cases. However, the take away from that isn't "if you go into Chrome developer tools you totally had it coming".

There are bounds to what is or should be considered reasonable testing, and if you don't press against them then they will keep moving closer and closer to the point where simply using your own computer in ways the manufacturer didn't intend will be illegal (and that is already happening as well).

According to what the author describes he did absolutely nothing wrong morally or legally, and the attitude of victim blaming prevalent in this thread is a huge problem in the security industry. We should be supporting rather than crucifying him, because one of us will surely be next for looking at a website the wrong way.

Re:I found a security issue on a competitor, got fired and s... by tptacek on Wednesday March 16, 2022 @11:58PM (#30707516)
It is absolutely not the case that the author described something absolutely legal. I don't care if you think it's "victim blaming"; I am making a simple positive statement, not a normative one. People will get hurt buying into what you're saying. There's no "reasonable testing" exception to the CFAA. You're very unlikely to be prosecuted for doing this stuff, but it's not that unlikely that you will get wrecked with legal bills reaching that conclusion.
Re:I found a security issue on a competitor, got fired and s... by borski on Thursday March 17, 2022 @03:46AM (#30708597)
'tptacek is 100% correct here. Anyone reading this: please listen to these words of wisdom, because not doing so is how you get seriously hurt in the eyes of the law.

Hack, but hack carefully, at least until there are laws that protect you. Today, there aren't.

Re:I found a security issue on a competitor, got fired and s... by paxys on Thursday March 17, 2022 @12:02AM (#30707536)
Considering the author hasn't been pronounced guilty by any court I'm not sure how you can say that with any confidence.
Re:I found a security issue on a competitor, got fired and s... by teraflop on Thursday March 17, 2022 @12:15AM (#30707615)
There is a huge gray area between "absolutely legal in all circumstances" and "absolutely not legal under any circumstances". The fact that somebody has not (so far) been found guilty in court doesn't mean their conduct was definitely legal.

If you're trying to discuss whether something is legal in general, looking at a broad spectrum of case law is generally more instructive than focusing on the outcome of one particular case.

Re:I found a security issue on a competitor, got fired and s... by vkou on Thursday March 17, 2022 @04:21AM (#30708797)
1. tptacek is an expert on this subject. He works in security. He is giving good advice, that's not going to land people into a pile of shit.

2. You don't need to be found guilty for a court to ruin your life. If you doubt me, ask anyone who's 'won'[1] a nasty divorce.

[1] And I don't mean the lawyer.

Re:I found a security issue on a competitor, got fired and s... by glo4 on Thursday March 17, 2022 @01:31AM (#30707990)
Because the behavior described in the blog post is open and shut CFAA-and-equivalents, regardless of weaseling over words like “authorized” and “access” and “computer”. The author’s own words complete a CFAA case. Not argue for. Complete. The narrative as described is prosecutable.

You could have done everything the author claims to have done in order to stop a Martian invasion or the extinction of every living thing or in the genuine spirit of trying to help and it’s still several prima facie violations of CFAA. It just is. I’m sorry. The why doesn’t matter, barring the contractual scenario tptacek points out (and which STILL requires diligence by both parties to avoid prosecution).

To be clear I think it sucks what happened to the author, but if weev goes down for enumerating primary IDs via a Web browser (and to be fair, also trying to sell the data like a complete tool), setting up an entire technical infrastructure to compromise this app in this way is trivially demonstrable intent. You and I both know what Charles does. Now wait until a prosecutor spins the whole setup as a giant technical hack that shows this person intended to compromise a competitor. I’m not even finished with law school and I’m certain I could prosecute this person successfully, but note that doesn’t mean I’m saying they should be.

Given what you said here and to your point, I’m going to preempt your likely retort and point out that I’ve described the behavior as afoul of CFAA and not the person. You’re right that they are entitled to due process. The blog post is literally evidence is all. I’d bet my Rams tickets next year there’s a subpoena on its way to this post. If not in a theoretical criminal case, then definitely in the civil litigation already underway (again, taking the author at face value).

tptacek is right, and I mean this with respect: you really need to be careful with your opinions on CFAA, particularly when potentially suggesting violation thereof. Your pronouncement that the person didn’t do anything illegal is actionable in a very distant, fucked up world with a bunch of prerequisites, but still a very very possible world. (IANAL/YL, comment is general opinion and not advice, etc)

Re:I found a security issue on a competitor, got fired and s... by FDSGSG on Thursday March 17, 2022 @04:41AM (#30708901)
> You're very unlikely to be prosecuted for doing this stuff, but it's not that unlikely that you will get wrecked with legal bills reaching that conclusion.

What he's saying seems to be exactly in line with what's happening. Even if the author doesn't end up being found guilty by any court, he'll still be wasting a bunch of money on lawyers.

Re:I found a security issue on a competitor, got fired and s... by mekal on Thursday March 17, 2022 @09:21AM (#30710868)
How could you possibly get into legal trouble for viewing the source code of a website? Are we talking about China or North Korea maybe??
Re:I found a security issue on a competitor, got fired and s... by randomswede on Monday March 21, 2022 @11:30AM (#30755214)
See the recent(ish) "but, hacker, prosecute!" case with teacher PII in, um, some US state or another. Where a journalist was looking likely to be put up on charges of "computer hacking" based on exactly just "view source".
Re:I found a security issue on a competitor, got fired and s... by Aeolun on Thursday March 17, 2022 @12:01AM (#30707528)
> Poking around to find out how severe a vulnerability might be is how you manage to get yourself in civil trouble even when you're testing a site that runs a bug bounty

Sueing people doing it is a fantastic way to ensure well intentioned people will never report vulnerabilities to you any more.

The same goes for your whole post chain.

Re:I found a security issue on a competitor, got fired and s... by engmgrmgr on Thursday March 17, 2022 @05:23AM (#30709194)
You’re a curious person and see that the back door to a closed restaurant was left unlocked. You should let them know, but make sure you find out how big of a screw up the closing manager caused so s/he can be dealt with or the process fixed.

You open the door a little and peak inside and see the office door is open. “This can’t be,” you think as you walk into it.

You bet there’s a safe left unlocked and customer reservation left unprotected on the computer, “how irresponsible can these people be…”

If their security is this bad, you wonder what their food safety processes are.

It’s a slippery slope, and maybe well-intentioned, but that doesn’t change the fact that you’re not allowed to wander into this restaurant’s back door or be there when it’s closed, and now that you have, how do you prove you didn’t do anything malicious if the only evidence there is is of you in the restaurant when you’re not supposed to be?

Maybe you can make an appealing public good argument against criminal accusations based on your stellar clean record, but how do you protect yourself from civil suits, which they have every right to spin up if they have damages and can link you to them?

Re:I found a security issue on a competitor, got fired and s... by spacemanmatt on Thursday March 17, 2022 @06:23AM (#30709519)
Please don't conflate physical invasion with violation of data privacy. Everyone downloaded a car, 3d printed it, and are now driving around happily in them. This argument is beyond tired.
Re:I found a security issue on a competitor, got fired and s... by tptacek on Thursday March 17, 2022 @01:41PM (#30713828)
The laws regarding computer intrusion are stricter than those governing real-world breaking and entering. Trying someone's door isn't a federal crime (though it'll absolutely get you arrested, even though that's the open protocol a doorknob advertises).
Re:I found a security issue on a competitor, got fired and s... by tptacek on Thursday March 17, 2022 @12:03AM (#30707544)
Oh, well. I didn't write this law, I just pay attention to how it's used.
Re:I found a security issue on a competitor, got fired and s... by tedk-42 on Thursday March 17, 2022 @12:59AM (#30707816)
Which is exactly the problem - this kind of rule following behaviour for arbitrary and non-sense rules allow for more rules to be implemented without push back.

We as developers and end users have to fight it and not simply argue for the sake of following rules.

It makes zero sense to prevent people from viewing source code of a page when that is how the entire tool chain was built to be used.

They should have made their own native app that couldn't be reverse engineered if they had any mind for real engineering rather than blame 'the web'.

Re:I found a security issue on a competitor, got fired and s... by tptacek on Thursday March 17, 2022 @01:00AM (#30707825)
You can be as pissed about it as you like, and I don't have a problem with that. Where I start having a problem is when people say things like "poking around to see what kind of data is exposed by a bug is reasonable testing and not illegal". You wanting something to be legal doesn't make it legal!
Re:I found a security issue on a competitor, got fired and s... by burnished on Thursday March 17, 2022 @01:48AM (#30708067)
Point of order - upstream what is being discussed is 'whitehat' behaviors and tendencies, and whether a behavior is reasonable. This got transmuted to a question of legality by some one downstream, and is in my opinion a good shout but wasn't really a rebuttal to any of the points raised. It seemed like there was some talking past each other going on and I think that is the core of it.
Re:I found a security issue on a competitor, got fired and s... by tptacek on Thursday March 17, 2022 @01:50AM (#30708077)
I think I keyed off of "I agree with a parent comment in that someone dropped the ball here and threw him under the bus to protect reputations and prevent any nastiness between the two companies."
Re:I found a security issue on a competitor, got fired and s... by mannykannot on Thursday March 17, 2022 @09:39AM (#30711021)
>...and is in my opinion a good shout but wasn't really a rebuttal to any of the points raised.

True, but it was not somehow 'out of order' because it was not a rebuttal of the 'whitehat' claims. Given that the article is not primarily about how the author discovered the vulnerability, but the legal problems that ensued, it was not at all unreasonable to point out that acting in accordance with 'whitehat' behaviors and intent is not enough to shield oneself from legal scrutiny. Furthermore, the ensuing discussion, in which various attempts were made to deny this distinction, shows that the point needed to be made!

Re:I found a security issue on a competitor, got fired and s... by burnished on Thursday March 17, 2022 @10:07AM (#30711302)
Objection sustained!
Re:I found a security issue on a competitor, got fired and s... by Aeolun on Thursday March 17, 2022 @08:30PM (#30717377)
> poking around to see what kind of data is exposed by a bug is reasonable testing and not illegal

Poking around to see what kind of data is exposed by a bug is reasonable.

I’d stop there, and I’d suggest people do that, because it makes for a better society for all of us, regardless of the law. What’s that called? Civil disobedience?

Re:I found a security issue on a competitor, got fired and s... by tptacek on Friday March 18, 2022 @12:02AM (#30718628)
Why bother stopping there? You'll already have committed a felony. Go as far as you want from there! It's civil disobedience, after all!
Re:I found a security issue on a competitor, got fired and s... by aaaaaaaaata on Thursday March 17, 2022 @08:45AM (#30710528)
Real issues arrive when people use "illegal" and "immoral" as if they were interchangeable.
Re:I found a security issue on a competitor, got fired and s... by registeredcorn on Thursday March 17, 2022 @12:00AM (#30707525)
(Note: The post appears to have disappeared, so I don't have the full details of what the author did/didn't do. I have a vague understanding based off the parent conversation.)

I don't want to sound purposefully ignorant here but is your advice basically that, if you find a vulnerability, the only way to remain a white hat hacker, assuming you were not hired to check for vulnerabilities, to not report the security flaw?

If not, please explain.

If so, I can certainly understand the perspective, but for me, I feel a sort of obligation to make people aware of serious problems. Whether it be them driving around with a headlight burned out, or their website processing credit card info in an insanely insecure manner. Each are dangerous, and can cause many problems not just for the operator, but for the people around them as well.

To me, it seems like it is ultimately at least as malicious as a grey or black hat, if a white hat were to find a basic (or serious) issue, and not try to inform the owner (or in this case, their boss) of the issue in some fashion.

Perhaps the law should look for some kind of "good sanitarian law" for these sorts of situations.

Re:I found a security issue on a competitor, got fired and s... by tptacek on Thursday March 17, 2022 @12:06AM (#30707558)
There is no "good samaritan" clause in the CFAA, just for what it's worth to you.

I don't know what this "white hat hacker" stuff is. There's no rule of hats in the law. I know "white hat" mostly as a term of derision, not as a technical or legal term of art.

The problem this person has run into is that they went looking for vulnerabilities in someone else's website without permission to do that. You're not allowed to do that. If you do it, a lot of times you'll run into companies that are cool about it, but a lot of times the companies you run into aren't cool about it. The law is on the side of the people who aren't cool about it.

Re:I found a security issue on a competitor, got fired and s... by tluyben2 on Thursday March 17, 2022 @03:29AM (#30708522)
> The law

US law right? Out of interest, not trying to make a point; I cannot read the article so I do not know.

Re:I found a security issue on a competitor, got fired and s... by borski on Thursday March 17, 2022 @03:48AM (#30708612)
to the sibling comment, since replies are turned off: yes, US law. I doubt either 'tptacek or I know any detail of significance around non-US computer fraud / security law.
Re:I found a security issue on a competitor, got fired and s... by tsimionescu on Thursday March 17, 2022 @03:45AM (#30708594)
> I don't want to sound purposefully ignorant here but is your advice basically that, if you find a vulnerability, the only way to remain a white hat hacker, assuming you were not hired to check for vulnerabilities, to not report the security flaw?

I think the important point is: if you don't want to risk a world of legal trouble, don't look for vulnerabilities in other people's systems in the first place, unless and until you have a contract with them. At the very least, make sure they have a bug bounty program or some other public indication that they are interested in getting vulnerability reports.

Again, the most important point is that you do this before even checking for the vulnerability you think you may have found.

Re:I found a security issue on a competitor, got fired and s... by caf on Thursday March 17, 2022 @12:32AM (#30707701)
Re:I found a security issue on a competitor, got fired and s... by tptacek on Thursday March 17, 2022 @12:33AM (#30707704)
It would be better if we weren't dragging this back onto the thread.
Re:I found a security issue on a competitor, got fired and s... by MereInterest on Thursday March 17, 2022 @07:56AM (#30710125)
From a legal perspective, as far as I can tell, you're right. From a moral perspective, this only considers the well-being of the company with the security flaw. Limiting security investigations to those that have the full blessing of the company means that security flaws can be swept under the rug.
Re:I found a security issue on a competitor, got fired and s... by inopinatus on Thursday March 17, 2022 @02:20AM (#30708203)
If someone's left their door unlocked, and you notice, you let them know it.

You don't walk in and rummage around their house to "investigate the severity".

Re:I found a security issue on a competitor, got fired and s... by tailsdog on Thursday March 17, 2022 @07:26AM (#30709882)
This is a bad analogy - it's more like you request access to an area, there are no locks, you're invited in and told that the content is not restricted.
Re:I found a security issue on a competitor, got fired and s... by inopinatus on Thursday March 17, 2022 @01:59PM (#30714064)
No, it isn’t. This is a self-serving fiction, and repeating it for the witless is how they end up being prosecuted.

The mitigating circumstance is if you have a written agreement that says, you are authorised to be there, and doing what you’re doing.

Re:I found a security issue on a competitor, got fired and s... by tptacek on Wednesday March 16, 2022 @11:03PM (#30707184)
This happens a lot! It's gotten people in trouble even in situations like bug bounty programs, where some amount of testing is authorized --- there's a delicate set of norms about stopping your exploration when you find a problem. In a situation where there's no prior authorization --- as is likely the case here --- violating whatever implicit norms exist can easily get you in legal trouble.

At the very least, if you stumble across something that spits out a plaintext credit card number, stop right there and don't do another damn thing with the target. Don't see which credit card numbers you can see, don't change the `/100` in your URL to `/101`, just stop.

Re:I found a security issue on a competitor, got fired and s... by borski on Thursday March 17, 2022 @03:50AM (#30708618)
...and report it, apologizing for going too far in the first place but explaining how you got there and that you want to cooperate in any way to help them fix it.

And please, don't tell them you'll give them the bug if they pay you or give you a t-shirt - this is blackmail, most likely (IANAL), and sure to get you in trouble. (but it happens)

Re:I found a security issue on a competitor, got fired and s... by ballenf on Thursday March 17, 2022 @08:53AM (#30710602)
The crazy thing is how unintuitive the law is here. If we were calling customer support and asked "can you tell the card number of [John Doe/customer 314/etc]" without ever claiming to be that person, wouldn't we put 100% of the blame on the company for answering that question? (If the caller there used the number, that'd be a different story.)

Most devs outside security would just assume that unless you're doing something encryption-related or at least trying multiple passwords, you're not hacking. You're just asking nicely for information.

It is amazing how little technical knowledge you need to violate the CFAA.

Re:I found a security issue on a competitor, got fired and s... by aaaaaaaaata on Thursday March 17, 2022 @08:48AM (#30710551)
Oh, the URL change...so many drug test results.
Re:I found a security issue on a competitor, got fired and s... by cbozeman on Thursday March 17, 2022 @06:53AM (#30709674)
> Knowing when to stop should probably be a white-hat quality.

You don't stop until you fully explore just how severe the vulnerability is and all affected systems. This isn't rocket science. You have to know just how bad things are if you to have any hope of fixing them.

Re:I found a security issue on a competitor, got fired and s... by bongothrowaway on Thursday March 17, 2022 @08:50AM (#30710572)
Isn't that the job of the person who is responsible for the code, and NOT the responsibility of a well-wishing outsider who stumbled across the bug in the first place? Unless you're actually angling to get the job of fixing the code.