83 points scanr 1 hour ago 34 comments

barbaudue710 1 hour ago | parent

WebRTC is wild

deathanatos 10 minutes ago | parent

WebRTC is just the exfiltration mechanism. The attack could have used a JSON/AJAX call, or even an img tag.

javcasas 1 hour ago | parent

And another case of a tracking pixel or a third party ad/tracker injecting malicious code.

afavour 1 hour ago | parent

Worth noting that this isn’t really anything to do with the technical capabilities of WebRTC, it’s just that it’s less frequently monitored for nefarious behavior. Same reason they’re only targeting mobile devices: harder to detect.

No reason this approach couldn’t be taken with simple HTTP requests. If you’re embedding third party scripts on your site you’re always vulnerable.

edoceo 44 minutes ago | parent

Would CSP mitigate this?

deathanatos 11 minutes ago | parent

From TFA:

> On every page that takes payment, set a connect-src rule that lists only the hosts you use.

(Though you should really be setting a default-src that only lists `self`.)

TazeTSchnitzel 7 minutes ago | parent

The article says that can only block the part of the WebRTC setup process that requires an HTTP request, though? So I wonder if it is possible for a WebRTC request to be set up with no external HTTP request at all.

fidotron 17 minutes ago | parent

I do think it's fair to say if you were inventing WebRTC today the entire P2P and STUN/TURN aspect of it would need to go. (mdns also seems like a technology from a more naive time).

The MoQ people are annoying, but in one respect they are right, and that is that having browsers have channels of communication outside of the usually expected HTTP is a recipe for trouble.

stryan 1 hour ago | parent

> This form of attack appears to target mobile devices, and we only saw the server enable the skimmer on checkout pages, so desktop checks and homepage scans would likely not see it

Finally, the millennial habit of making certain purchase from a desktop computer only pays off.

I am actually curious why this specifically targets small screens though. Are mobile browsers more likely to allow the WebRTC connection? Or is this just to bypass vendor testing.

afavour 1 hour ago | parent

IMO likely simply that automated testing runs on desktop browsers far more often. Plus dev tools is way more accessible on desktop. If you hide it there the devs working on the site are much less likely to notice.

teqsun 1 hour ago | parent

Less likely to have ad-blockers would be my guess.

coldfloor 26 minutes ago | parent

Ironically the same reason businesses keep pushing you to go mobile and download the app, please: Far harder for users to audit, far less likely for users to have content blockers in place.

robin_reala 54 minutes ago | parent

If you work on / run an e-com site and you don’t have an enthusiastically locked down CSP in place, this is your very next project.

gib444 48 minutes ago | parent

I've never liked those in-page credit card forms, and always preferred redirects to payment-provider hosted pages.

I'm guessing conversion is higher when there is no redirect flow, so the sales team won the battle with the security teams?

tialaramex 27 minutes ago | parent

I never loved those pages (typically from some middle men not my actual provider) because they usually looked like crap web sites bad guys would knock together, suspicious DNS names, poor site design, vague wording - it was like somebody attended a conference talk which said "High quality does not mean it's legitimate" and their take away was "Do a terrible job and that will seem authentic somehow".

For months (years?) now when I buy something on a web site the payment process tickles the bank's app on my phone and I have to confirm the purchase in that app, so you can't meaningfully "steal" or "skim" that step. The app was designed by somebody who has apparently at least skim read a book about UX, and I rarely scream and want to throw my phone at a wall while using it unlike those old web sites.

If I'm buying a $10 Christmas bauble on MyFunXmasGifts.present or whatever stupid URL and then my phone wants a confirmation for a $50 UberEats transaction, that's a "No" and you just got yourself flagged for attempted fraud.

I wonder how many people this works for though.

miniwark 38 minutes ago | parent

I did not understand all: How did this land on the affected websites in the first place ?

moi2388 20 minutes ago | parent

Ad tracking pixel provider. Their solution was compromised

thinkling 19 minutes ago | parent

It appears to vary. The table early in the article lists a few paths used on different e-commerce sites:

- “Altered Quorum* marketing pixel”

- “Edited Seers† cookie-banner setting”

- “Altered file on Revolve's own CDN”

The former two might be blocked by an ad blocker or JS blocker; the latter sounds trickier when the script comes from the vendor’s own compromised site.

jszymborski 37 minutes ago | parent

People like to get sanctimonious about blocking ads, but this is one of the many good reasons why I'll never feel bad about it.

techjamie 11 minutes ago | parent

It amazes me that ad companies are allowed to let anyone with a few dollars shove arbitrary JavaScript/assets down the throats of the wider internet. Not only that, but the operators are financially incentivized to allow malvertising to continue operating because they're amazing repeat customers.

amluto 8 minutes ago | parent

It amazes me that site operators are willing to include ad networks in a way that gives them code execution.

__MatrixMan__ 37 minutes ago | parent

It's crazy that we have had asymmetric cryptography since the 70s and we're still using symmetric secrets for payment.

I suspect that the people who could change this are more interested in continued treatment than cure. They like being the arbiters of which transactions get reversed. It let's them justify their otherwise parasitic position.

TheRealPomax 34 minutes ago | parent

I don't know about your banks, but if I use my credit card to pay for something online, I have to entire an MFA code before that payment goes through.

ranger_danger 31 minutes ago | parent

Credit cards in the US are stuck in the past. NFC/MFA/PIN are not required (in a legal sense) at all, and every bank handles things slightly differently. Chip+PIN is rare compared to other countries. Traditional bank apps here also do not support direct NFC payments like they do in Europe, and many banks still rely on insecure SMS-based 2FA.

zeroonetwothree 20 minutes ago | parent

We have zero liability for customers for fraud so no one cares that much.

techjamie 6 minutes ago | parent

That's part of why I don't typically use a debit card. A bad transaction on a debit card can still be your problem and take some doing to fight. If I get defrauded on my credit card, a chargeback is a click away, and Mastercard will make the money the vendor's problem to work out.

Fortunately I've never been defrauded, but my dad was once via his debit and it was a pain.

geetee 30 minutes ago | parent

I can count on one hand the times I've had to do any extra step like this

xnorswap 16 minutes ago | parent

It seems completely standard in the UK, at least with the banks I've used, anything that looks expensive or out of the ordinary flags it for an MFA check. That can be of different forms, some use "Confirm in <app>", some use TOTP codes.

TazeTSchnitzel 6 minutes ago | parent

It's a legal requirement in the EU specifically (PSD2 Strong Customer Authentication). Alas, it is not in the US.

tialaramex 3 minutes ago | parent

One important thing to understand about payment cards in particular is the distinction between "Settlement" and "Authorisation"

Settlement is the process by which Bank A with your money, or possibly your debt if it's a credit card, gives money to Bank B representing a merchant where ostensibly you paid with the payment card.

Settlement is basically still the same "Honour System" process as it was last century, it's probably no longer literally magnetic tapes or punched cards, but cryptography has no real role here. Because this relies on that Honour System, mere accidents can result in transactions which should not exist. At a societal level e.g. a big bank mistakenly runs MAIN1 MAIN2 MAIN2 MAIN4 files through their settlement process one night, and the next morning people whose transactions were in MAIN2 realise they've been charged twice! Meanwhile retailers relying on MAIN3 being processed are distraught to find that magically they got nothing. Oops, fat finger. e.g.

https://www.bbc.co.uk/news/uk-england-45400234 https://www.bbc.co.uk/news/business-41061781

Authorization is the step where there's something resembling modern security. This step is there to protect Banks and Merchants from Customers, who they don't trust as far as they could throw you. Although Banks and Merchants are so often involved in fraud, they both love blaming Customers and so hence they require Authorization. The EMV technology (most familiar as "Chip and PIN" but the same technology makes Contactless including paying with your iPhone work in most countries) is the most "high tech" this ever got.

EMV could be fairly good. It's not really well designed, crypto people have found some serious holes in it, but they're at the scale of "Skilled people could break this" or "This is needlessly worse than it should be" not at the "A bored teenager can steal your money" level where the magnetic stripes were. However, the bank cares a lot about price, a best-in-class EMV card might cost $1 more, if it reduces the bank's fraud costs by 50 cents they are losing money on that, so the crap EMV card they gave you is the right choice for their bottom line even if you also lose on average $2.50 from the fraud, the bank doesn't care about you, your benefit does not appear on their bottom line.

Understanding, as so often, Cui Bono (who benefits) from Authorization clarifies where the incentives are.

mzmzmzm 26 minutes ago | parent

Sadly the web is unusable without ad blockers, in terms of usability, accessibility, and clearly security as well. Things that make content blocking harder (iOS locking down the browser engine, manifest v3, cloudflare turnstile, etc) are often just punishing users.

0xmattf 23 minutes ago | parent

I'm honestly stumped. I checked the homepage of InfoHawk, and see a one-shot prompt to Claude landing page. Then I googled InfoHawk, and see they raised $2.25 million. Impressive.

I really want to redesign their landing page.

07_ajax_ 2 minutes ago | parent

That's why you redirect to an authorised payment service provider instead.