News for hackers. Stuff that matters.
Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by rcme on Monday July 03, 2023 @08:50AM (#36572175)
I think you’re confusing what you’re supposed to do (according to PCI) vs. what you’re technically capable of doing. Look at the Stripe’s documentation for creating a payment method [0]. The parameters it takes are card number, expiration, and CVC. Any merchant using this API could trivially save the information for future, malicious use.

0: https://stripe.com/docs/api/payment_methods/create

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by Mordisquitos on Monday July 03, 2023 @09:15AM (#36572440)
Please refer to the section just above, in the "Tokens" section. Emphasis is mine:

> Tokenization is the process Stripe uses to collect sensitive card or bank account details, or personally identifiable information (PII), directly from your customers in a secure manner. A token representing this information is returned to your server to use. You should use our recommended payments integrations to perform this process client-side. This ensures that no sensitive card data touches your server, and allows your integration to operate in a PCI-compliant way.

> If you cannot use client-side tokenization, you can also create tokens using the API with either your publishable or secret API key. Keep in mind that if your integration uses this method, you are responsible for any PCI compliance that may be required, and you must keep your secret API key safe. Unlike with client-side tokenization, your customer's information is not sent directly to Stripe, so we cannot determine how it is handled or stored.

So in summary, yes, you can integrate with Stripe in such a way that you send them the card details... but then your business will need to be PCI compliant to the level of a PSP which, believe me, is damn hard. If you suspect that a merchant may go through the trouble of becoming PCI compliant only for the sake of being able to get customers card numbers for possible future malicious use, or do it in such a shoddy way that a malicious employee will be able to steal card numbers, you might as well just stop trusting online card payments in absolutely all cases, including Apple Pay.

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by boringuser2 on Monday July 03, 2023 @09:43AM (#36572774)
What point are you even making?

Are you talking about trivial e-commerce transactions that you could make with Shopify? Yes, you could embed a payment gateway here. However, this is hardly universal or the norm.

In an actual application, you're going to have some API layer over the processor you use. You don't store these credentials, but you do pass them over your API layer and could easily intercept them.

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by Mordisquitos on Monday July 03, 2023 @10:02AM (#36572998)
I'm making the point that I work in a department that develops a payment platform for a variety of retailers and has to perform non-trivial integrations with a broad range of PSPs worldwide, covering all sorts of payment flows, including cases in which the PSP itself has had to do new development on their end to cover use cases that they had never come across before. And yet, we do not at any point pass the card details through the API to the PSP.

The input of all payment method data by the customer takes place either in PSP-hosted fields, on an iframe of the PSP front-end, or via a PSP-provided SDK or drop-in UI, in such a way that our software never sees the introduced data. All we see are the sanitised details (card type, BIN, and last 4 digits) that the PSP then sends to us.

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by marcosdumay on Monday July 03, 2023 @10:33AM (#36573467)
You are insistently missing the point, and overlooking a series of security flaws just by reasoning that people aren't authorized to exploit them.

I really hope that your job at that security provider is on marketing, because this is a hell of a bad mindset to work with security.

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by Mordisquitos on Monday July 03, 2023 @11:06AM (#36573958)
I don't think you have paid enough attention to detail when reading my comments to have an informed opinion as to whether I am "missing the point" or whether I am instead talking from in-depth practical experience on the subject.
Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by tmpfile on Monday July 03, 2023 @12:06PM (#36574932)
You’re arguing that using a PCI compliant PSP solves the problem of credit card number harvesting, but that’s not correct unless the entire transaction takes place on the psp (like PayPal). Once the payment details are collected in environments outside the psp’s control, it’s not protected. For example, payment info could be skimmed by devs with access to payment pages using js like in the NewEgg Magecart attack
Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by Mordisquitos on Monday July 03, 2023 @12:27PM (#36575252)
No, that is not what I am arguing. Please reread the thread.
Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by rcme on Monday July 03, 2023 @12:42PM (#36575434)
Here is a summary of your argument in your own words:

> So in summary, yes, you can integrate with Stripe in such a way that you send them the card details... but then your business will need to be PCI compliant to the level of a PSP which, believe me, is damn hard.

What others in this thread are arguing is that sharing CC details with anyone is a stupid way of doing payments. It doesn't matter if you're interacting with a PSP or otherwise. You shouldn't share a secret that someone else could use to generate payments. You should share some type of payload that is only valid for the payment you're making.

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by 411111111111111 on Monday July 03, 2023 @03:15PM (#36577559)
As another person that's worked in payment (specifically aquiring) for 6 years: PCI compliance is not a trivial matter as you seem to believe.

It involves recurring audits of all systems in contact with cc information.

While I've never used stripe, i doubt they'd let you use that API without the certificate, as they wouldn't be able to do the aquiring for illegitimate transactions such as that. They could lose their status as an aquirer if they did that knowingly, and that would make it impossible to process any visa/Mastercard transactions.

You're more likely to encounter a simple scam/phishing site then a legitimate shop that let's cc information onto their servers. And that's honestly the only danger apple pay protects you from.

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by rcme on Monday July 03, 2023 @07:56PM (#36580414)
What PCI says is irrelevant. The argument being made is that when you enter your CC number into a website you have no idea if the receiving party is PCI compliant or not. There are ways to design a payment systems that reduces this counter party risk.
Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by tmpfile on Monday July 03, 2023 @09:13PM (#36580916)
I’m not sure what you’re replying to?

He says:

> You shouldn't share a secret that someone else could use to generate payments. You should share some type of payload that is only valid for the payment you're making.

He’s advocating for a more secure one-time way of making a payment.

It would be more secure since it’s one-time and could not be reused even if the merchant didn’t use a pci compliant design

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by tmpfile on Monday July 03, 2023 @09:23PM (#36580986)
You:

> You may be surprised to know that, when doing a "conventional" CC transaction, you are most certainly not giving any stranger information that would allow them to perform a transaction in your name on another merchant.

How do you know as a client the merchant doesn’t have a skimmer embedded in their payment page? Or that they don’t post directly to their servers (whether accidentally or not)? Are the PCI police going to catch them? Maybe they want to store cards to process later and don’t know or care about pci.

The problem is using the same details for every transaction in a loosely authorized way.

In a perfect world the merchant won’t have access to the card details (like with one-time payments) and everything would go thru a provider with a preauthorized payment. But we don’t live in that world right now.

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by unethical_ban on Monday July 03, 2023 @12:31PM (#36575298)
New user joining the fray here. I worked in cybersecurity at a bank for many years. I haven't read all of what you said, because I agree that you're missing the point that someone was making. Right now, I could throw up some kind of merchant page for some homebrew service, and have an HTML form that asks for a credit card number a CVV and an expiration date. That would be illegal or otherwise non-compliant with PCI, absolutely but it's technically doable. Every time that someone types in a credit card number into a website, they have to trust that the merchant they are doing business with is handling that data in a secure and compliant manner. That is the point of the OP.

Their point extends to the fact that there are other ways of exchanging payment data that would not allow a malicious recipient to reuse that data illegally.

Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by rcme on Monday July 03, 2023 @07:59PM (#36580454)
This conversation is really crazy to me. I’m going to assume these people really do work in payment processing and it explains a lot. Apparently they can’t even properly recognize a potential attack vector let alone mitigate it. If this mindset is common in the payments industry, then it explains why payments are still so insecure.
Re:Illegal Life Pro Tip: Want to ruin your competitors busin... by m3affan on Tuesday July 04, 2023 @02:40AM (#36583016)
"But, but, it's illegal". But nonetheless it was a illuminating debate.