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.
show comments
afavour
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.
show comments
s_u_d_o
Why don’t google adsense & other ad providers sandbox those ads? And never allow any JS to be executed at client side? Wouldn’t this solve it all? Why doesnt our browser act like a renderer of those ads, without any possible JS execution?
show comments
snickerer
One basic design no-go of the www is to allow strangers to run random code on your computer. It is just not acceptable. Servers should deliver just data and my browser decides what to do with it. A shop should deliver lists of items and prizes and my shop browser decides how to operate with the catalogue in a way I want. Everying else is nuts.
show comments
__MatrixMan__
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.
show comments
kevsamuel
I don't see what this has anything to do with Web RTC, a normal ajax requests would have worked if the server define CORS, and even without, you can push a POST form button cross domains anyway.
Unless the site just forgot to add Web RTC in their connect-src CSP?
In which case it's not about WebRTC, it's about the site owner not securing their website.
show comments
OptionOfT
Interesting. A while back I couldn't even see event streams messages in Edge's debugger.
I feel like this should become a checkbox on MDN: debugger tools exist without adding console.log.
robin_reala
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.
miniwark
I did not understand all: How did this land on the affected websites in the first place ?
show comments
drnick1
WebRTC should really be one of those things that is disabled by default. It just adds to the already enormous attack surface of Web browsers.
nout
This is where architecturally credit cards are bad for online (and even meatlife) purchases.
If the same "numbers" can be used again for another purchase, then skimming is just bound to happen. There are ways to mitigate with one time use cards, but generally this just works better with Bitcoin.
E.g. when I'm paying at the Square terminals and use bitcoin, they can't "store" my information to pay again. Or when I'm buying stuff online, it's also only generating code/invoice for that specific purchase.
show comments
theturtletalks
I’m building an e-commerce SaaS and was originally going to have an App Store model like Shopify. But with agents, I don’t think SaaS need this anymore. You are trusting your store and business to these 3rd party apps that can switch hands and add malware.
Shopify tightened its App Store and even made it harder to install custom apps because of this very issue. My solution is to just ship an agent with each SaaS and it can ask it to add any feature. Maybe my App Store will just be skill files you feed to your agent.
shakesbeard
PCI DSS requirement 11.6.1 actually requires every merchant to monitor scripts and headers on their payment pages to combat magecart/skimming attacks. So best to use a hosted solution or one that solves this for you (e.g. Stripe Elements).
show comments
kragen
I was surprised to learn recently that browsers support iframe attributes to prevent almost all of the possible ways an iframe can exfiltrate information—navigating the iframe, navigating the top frame, loading images, loading scripts, using Fetch or XHR, etc.—but not WebRTC. In this case, though, it looks like the ads had lots of exfiltration avenues available, so I wonder why they went to the extra trouble of using WebRTC?
show comments
07_ajax_
That's why you redirect to an authorised payment service provider instead.
tonymet
I'm shocked / horrified that there isn't a single webRTC permissions consent prompt, that it is separated into audio/video, local network access. And the webRTC connection used in this malware works without consent. WTF
javcasas
And another case of a tracking pixel or a third party ad/tracker injecting malicious code.
amaringo234
But with 3ds in place, what can they actually do with these skimmed credit cards?
stryan
> 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.
show comments
tclancy
This is horrifying. The file paths seem to suggest someone is still using ColdFusion.
I kid because I loathe.
mzmzmzm
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.
mitchweaver
Google and Mozilla were still busy high-fiving each other after removing the TLS "lock" icon from their browsers to notice that WebRTC could be an attack vector.
Why would those features need to be enabled in an e-commerce checkout cart?
show comments
superkuh
It's amazing to me that we as society have become disdainful of anyone that doesn't automatically execute computer programs sent by unknown arbitrary third parties from random domain names.
20 years ago everyone knew not to open and execute any program sent to you by someone you don't know. Or even someone you do. Now this wisdom has been lost and even flipped on it's head.
0xmattf
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.
show comments
gib444
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?
show comments
eptcyka
Isn’t iframe isolation supposed to solve this? Oh wait, isolation.
I nominally put a lot of trust in KVM to isolate guests, but if we can’t isolate web contexts from one another, what hope can we have for whole simulated CPUs?
tonymet
this is why Chrome & MS Edge wallet (and password manager) worries me. the autofill injects into the UI, where skimmers & malware can steal. And they work without user-interaction
darylk
the GDPR (if we had it here) would end this type of nonsense quickly. Starting to think it’s worthy of discussion mostly due to a proper fine structure. Oh yeah and privacy. Something we don’t have ink upon in our laws.
gigatexal
apple pay and similar payment/auth methods should be immune to this, no?
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.
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.
Why don’t google adsense & other ad providers sandbox those ads? And never allow any JS to be executed at client side? Wouldn’t this solve it all? Why doesnt our browser act like a renderer of those ads, without any possible JS execution?
One basic design no-go of the www is to allow strangers to run random code on your computer. It is just not acceptable. Servers should deliver just data and my browser decides what to do with it. A shop should deliver lists of items and prizes and my shop browser decides how to operate with the catalogue in a way I want. Everying else is nuts.
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.
I don't see what this has anything to do with Web RTC, a normal ajax requests would have worked if the server define CORS, and even without, you can push a POST form button cross domains anyway.
Unless the site just forgot to add Web RTC in their connect-src CSP?
In which case it's not about WebRTC, it's about the site owner not securing their website.
Interesting. A while back I couldn't even see event streams messages in Edge's debugger.
I feel like this should become a checkbox on MDN: debugger tools exist without adding console.log.
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.
I did not understand all: How did this land on the affected websites in the first place ?
WebRTC should really be one of those things that is disabled by default. It just adds to the already enormous attack surface of Web browsers.
This is where architecturally credit cards are bad for online (and even meatlife) purchases. If the same "numbers" can be used again for another purchase, then skimming is just bound to happen. There are ways to mitigate with one time use cards, but generally this just works better with Bitcoin. E.g. when I'm paying at the Square terminals and use bitcoin, they can't "store" my information to pay again. Or when I'm buying stuff online, it's also only generating code/invoice for that specific purchase.
I’m building an e-commerce SaaS and was originally going to have an App Store model like Shopify. But with agents, I don’t think SaaS need this anymore. You are trusting your store and business to these 3rd party apps that can switch hands and add malware.
Shopify tightened its App Store and even made it harder to install custom apps because of this very issue. My solution is to just ship an agent with each SaaS and it can ask it to add any feature. Maybe my App Store will just be skill files you feed to your agent.
PCI DSS requirement 11.6.1 actually requires every merchant to monitor scripts and headers on their payment pages to combat magecart/skimming attacks. So best to use a hosted solution or one that solves this for you (e.g. Stripe Elements).
I was surprised to learn recently that browsers support iframe attributes to prevent almost all of the possible ways an iframe can exfiltrate information—navigating the iframe, navigating the top frame, loading images, loading scripts, using Fetch or XHR, etc.—but not WebRTC. In this case, though, it looks like the ads had lots of exfiltration avenues available, so I wonder why they went to the extra trouble of using WebRTC?
That's why you redirect to an authorised payment service provider instead.
I'm shocked / horrified that there isn't a single webRTC permissions consent prompt, that it is separated into audio/video, local network access. And the webRTC connection used in this malware works without consent. WTF
And another case of a tracking pixel or a third party ad/tracker injecting malicious code.
But with 3ds in place, what can they actually do with these skimmed credit cards?
> 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.
This is horrifying. The file paths seem to suggest someone is still using ColdFusion.
I kid because I loathe.
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.
Google and Mozilla were still busy high-fiving each other after removing the TLS "lock" icon from their browsers to notice that WebRTC could be an attack vector.
Why would those features need to be enabled in an e-commerce checkout cart?
It's amazing to me that we as society have become disdainful of anyone that doesn't automatically execute computer programs sent by unknown arbitrary third parties from random domain names.
20 years ago everyone knew not to open and execute any program sent to you by someone you don't know. Or even someone you do. Now this wisdom has been lost and even flipped on it's head.
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.
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?
Isn’t iframe isolation supposed to solve this? Oh wait, isolation.
I nominally put a lot of trust in KVM to isolate guests, but if we can’t isolate web contexts from one another, what hope can we have for whole simulated CPUs?
this is why Chrome & MS Edge wallet (and password manager) worries me. the autofill injects into the UI, where skimmers & malware can steal. And they work without user-interaction
the GDPR (if we had it here) would end this type of nonsense quickly. Starting to think it’s worthy of discussion mostly due to a proper fine structure. Oh yeah and privacy. Something we don’t have ink upon in our laws.
apple pay and similar payment/auth methods should be immune to this, no?
WebRTC is wild
These are all obscure sites, misleading title
LoL