← Back to context

Comment by selcuka

12 hours ago

If I repeat my credit card number example above:

Assume that an attacker generates a random credit number and attempts to make a purchase online. VISA honours the number and processes the payment. Is the attacker not guilty because VISA's server didn't return a 403 Forbidden (or 401)?

When you download a file from a public S3 bucket, for example, you get a signed URL that expires after a certain date. If someone guesses the signature and downloads the file, are they not guilty because the web server did not return a 200?

If someone guesses your password and reads your mail, is it ok because the IMAP server did not return an error?

Ah, you're coming at it from that angle. Fair enough in that scenario.

I agree that if you deliberately provide false credentials to the server, then the server was misled, and you probably knew you were misleading it, and you probably also know that that 200 OK is not really earned. So Mens Rea cuts against you.

On the other hand, what if you're just coming in blind, asking about URLs in general?

That's actually pretty typical these days where 'your'[1] view of the world at some point in time might be constrained to that HTTP traffic alone.

Accidents notwithstanding, you can't really blame me for believing what I'm told, at least.

"May I GET this, or this, or that?" -> "200 OK" ... it'd be a bit weird to get the cops after me, months later, after I've probably already even forgotten I ever did that wget or curl.

[1] via software/user agent/llm agent/all three