News for hackers. Stuff that matters.
Re:Retrieving your browsing history through a CAPTCHA by rightbyte on Sunday March 06, 2022 @05:05AM (#30576397)
This is a terrible PI leak ...

JS should really be disabled by default and only be enabled on sites that really need it and you somewhat trust.

Re:Retrieving your browsing history through a CAPTCHA by cabirum on Sunday March 06, 2022 @05:12AM (#30576423)
It does not require js to work. In essense, it uses css styles to exploit visited links.
Re:Retrieving your browsing history through a CAPTCHA by madacol on Sunday March 06, 2022 @08:33AM (#30577499)
I had to enable js for it to work in firefox
Re:Retrieving your browsing history through a CAPTCHA by zinekeller on Sunday March 06, 2022 @05:30AM (#30576504)
Also, lying the visited state on JS was implemented as early as Firefox 4 - so it is definitely not a JS-dependent "exploit" (rather, it's a rather oblique way of social engineering).
Re:Retrieving your browsing history through a CAPTCHA by PetahNZ on Sunday March 06, 2022 @05:31AM (#30576506)
But dont you need js to check for the styles to see if the link is visited?
Re:Retrieving your browsing history through a CAPTCHA by vgel on Sunday March 06, 2022 @05:34AM (#30576517)
No, each square the user clicks could be a checkbox that is submitted to the backend as a form when they click done.
Re:Retrieving your browsing history through a CAPTCHA by kevincox on Sunday March 06, 2022 @06:26AM (#30576757)
It could even just use CSS selectors to reveal an image or change a background image that results in a request to the backend.
Re:Retrieving your browsing history through a CAPTCHA by varun_ch on Sunday March 06, 2022 @08:31AM (#30577482)
Fortunately most browsers already have some measures to prevent that (https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and...), the demo avoids automating the process altogether, and relies on tricking the visitor into 'voluntarily' telling if they've visited a site.
Re:Retrieving your browsing history through a CAPTCHA by kevincox on Sunday March 06, 2022 @08:37AM (#30577525)
I meant you can use CSS on the checkbox once it is checked, there is no need to actually submit a form. I understand that you can't use CSS directly on the :visited selector.
Re:Retrieving your browsing history through a CAPTCHA by varun_ch on Sunday March 06, 2022 @08:54AM (#30577606)
Ah I see, that makes sense.
Re:Retrieving your browsing history through a CAPTCHA by rightbyte on Sunday March 06, 2022 @05:32AM (#30576507)
You need js to extract the PI though?
Re:Retrieving your browsing history through a CAPTCHA by gowld on Sunday March 06, 2022 @09:56AM (#30577942)
JS or user submitting a form -- some form of client interaction.
Re:Retrieving your browsing history through a CAPTCHA by fam0r on Sunday March 06, 2022 @07:26AM (#30577105)
You can do requests to the site using pure CSS as well, using something like `.site:visited { background-image: url(/logging/site); }`
Re:Retrieving your browsing history through a CAPTCHA by unilynx on Sunday March 06, 2022 @07:58AM (#30577302)
those kind of tricks are already blocked by browsers, as the article explains
Re:Retrieving your browsing history through a CAPTCHA by leodriesch on Sunday March 06, 2022 @07:25AM (#30577101)
This one does not really need JS, the captcha could be done with an HTML form and checkboxes.
Re:Retrieving your browsing history through a CAPTCHA by sylware on Sunday March 06, 2022 @10:33AM (#30578200)
captchas which are not working with noscript/basic (x)html browsers are definitive no-no anyway.