With Firefox on X11, any page can pastejack you anytime (middle button paste)
1–10 of 195 posts
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#2Who pastes something and executes it without a second look?
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#3Who pastes something and executes it without a second look?
thats kind of unfair, when you select something and you are confident what is selected, pasting with middle button and hitting enter can be milliseconds apart
you already decided to hit enter while you are selection something, could be just a bit above your current cursor in the terminal
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#4Who pastes something and executes it without a second look?
Have you never pasted a new line?
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#5I am surprised that Firefox freely allows access to the clipboard. I'm using Brave and there's an explicit permission for it that is disallowed by default.
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#6Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#7Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#8Who pastes something and executes it without a second look?
People on a hurry and the uninformed that still haven't heard that you can end up with malicious stuff on the clipboard if you haven't careful e.g. someone who inspects the text "systemctl restart cups" on the webpage, concludes it's what they want to run, then copies it straight to the terminal without noticing the web page was hiding malicious code in invisible text.
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#9You should always paste into an editor first, just copying any text from a webpage is a risk.
There are even examples using terminal escape codes, to hide what happened.
https://www.reddit.com/r/privacy/comments/rv964x/comment/hr4...
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#10You should always paste into an editor first, just copying any text from a webpage is a risk. There are even examples using terminal escape codes, to hide what happened. https://www.reddit.com/r/privacy/comments/rv964x/comment/hr4...
Adding to the demo here is one using CSS [1]