Re:Hackers hide web skimmer inside a website's CSS
by KMnO4 on Saturday December 12, 2020 @01:46PM
(#25400448)
CSS indeed can send the content of an input field [0], but it’s way too much of a hassle to be used in the wild.
Re:Hackers hide web skimmer inside a website's CSS
by emmab on Saturday December 12, 2020 @06:23PM
(#25402757)
> but it’s way too much of a hassle to be used in the wild.
No it's not, it's just rare that you'd have the ability to inject CSS but not JS.
A core skill of hacking is being able to see through the things people would normally see as "hassle" or "friction" to the reductionist "what keys do I have to press on the machine in what order to make this happen".
Re:Hackers hide web skimmer inside a website's CSS
by bamboleo on Monday December 14, 2020 @06:06PM
(#25424623)
No it cannot. That method misses repeating characters, which makes it pretty useless unless your password is otherwise guessable. Also you have to hope that the order is right.
For credit card numbers that means that you’ll miss at least 4 digits and you won’t know their position among 16. I’m not gonna do the math but that’s a few times more than 10000 guesses necessary to find the final number.
Re:Hackers hide web skimmer inside a website's CSS
by calibas on Saturday December 12, 2020 @05:53PM
(#25402562)
I assume it's a script that searches the CSS files for any JS and runs eval()?
Yeah, the problem isn't CSS, them problem is whoever thought that was a good idea. Now XSS is a "feature" of CSS.
CSS here is only used to hide the URL from security checkers, but a JavaScript part is still needed.
CSS alone can’t run scripts nor send the content of an input field.