News for hackers. Stuff that matters.
Re:Kids find a security flaw in Linux Mint by mashing keys by sontek on Wednesday January 20, 2021 @07:56AM (#25845859)
JWZ has been complaining about these screensavers for a decade. His screensaver from 20 years ago still doesn't have these issues.

Its not an X11 problem.

- https://bit.ly/3o2qekz

- https://bit.ly/38Y6pGO

(using bit.ly because he gives a testicle if referrer is HN :P)

Re:Kids find a security flaw in Linux Mint by mashing keys by shawnz on Wednesday January 20, 2021 @08:54AM (#25846439)
In fact jwz himself says in that very post that it is a fundamental problem with X11:

> X11 ... was designed with no security to speak of, and so lockers have to run as normal, unprivileged, user-level applications. ... This mistake of the X11 architecture can never, ever be fixed.

He also claims in the second post that Xscreensaver is actually vulnerable to exactly the same kind of attack:

> The xscreensaver daemon is a critical piece of security software. The reason for this is that, as a screen locker, any bug in the program that causes it to crash will cause the screen to unlock. As soon as xscreensaver is no longer running, the screen is no longer locked. Therefore, great care must be taken to ensure that the daemon never crash.

Re:Kids find a security flaw in Linux Mint by mashing keys by metafunctor on Wednesday January 20, 2021 @08:16AM (#25846023)
I don't understand the part about JWZ's testicles, so here are the links without bit.ly tracking for those whose ad blockers don't allow them:

- https://www.jwz.org/blog/2021/01/i-told-you-so-2021-edition/

- https://www.jwz.org/xscreensaver/toolkits.html

[Edit]: I understand now. My browser doesn't send referrer URLs, and I think that's the real fix instead of using something like bit.ly!

Re:Kids find a security flaw in Linux Mint by mashing keys by gambiting on Wednesday January 20, 2021 @08:18AM (#25846048)
You still get the testicles if you click this link, at least using Chrome you do. It's because the referrer field is set to HN so they know where the traffic is coming from.
Re:Kids find a security flaw in Linux Mint by mashing keys by FriedrichN on Wednesday January 20, 2021 @08:35AM (#25846225)
In Firefox set network.http.referer.XOriginPolicy and network.http.referer.XOriginTrimmingPolicy.

Source: https://wiki.mozilla.org/Security/Referrer

Re:Kids find a security flaw in Linux Mint by mashing keys by wernercd on Wednesday January 20, 2021 @09:48AM (#25847023)
I'm using Chrome with uMatrix and uBlock Origin... I assume one of those blocks the data because, somehow strangely, I feel left out that all I'm getting is the websites.

I wonder why someone would setup a "bad result" for specific referrers ...

Re:Kids find a security flaw in Linux Mint by mashing keys by lscotte on Wednesday January 20, 2021 @10:45AM (#25847743)
All good with Brave as far as I can tell. I don't know what everyone is talking about with testicles, but I don't see any with Brave.
Re:Kids find a security flaw in Linux Mint by mashing keys by drdec on Wednesday January 20, 2021 @09:20AM (#25846704)
In Firefox, right-click and open in a new private window and the links will work.

Just tested in Chrome and it works there as well.

Re:Kids find a security flaw in Linux Mint by mashing keys by tehwebguy on Wednesday January 20, 2021 @09:38AM (#25846911)
In mobile Safari tap and hold, then tap the preview or the open button
Re:Kids find a security flaw in Linux Mint by mashing keys by ascar on Wednesday January 20, 2021 @08:32AM (#25846195)
Time to switch to Firefox and give Google less data. Firefox doesn't seem to send the referrer :)
Re:Kids find a security flaw in Linux Mint by mashing keys by sgc on Wednesday January 20, 2021 @09:55AM (#25847097)
Hmmm. I think somebody is following this thread because I got testies using ff on linux by clicking the bitly links above.
Re:Kids find a security flaw in Linux Mint by mashing keys by sontek on Wednesday January 20, 2021 @10:04AM (#25847199)
haha, same. jwz really wants us to see the testes!
Re:Kids find a security flaw in Linux Mint by mashing keys by fullstop on Wednesday January 20, 2021 @08:54AM (#25846436)
Brave does not send the referrer as well.
Re:Kids find a security flaw in Linux Mint by mashing keys by sontek on Wednesday January 20, 2021 @09:08AM (#25846576)
Yes it does. I use brave and I get testicles if I click the link.
Re:Kids find a security flaw in Linux Mint by mashing keys by fullstop on Wednesday January 20, 2021 @03:31PM (#25851594)
I've tested it multiple times, as have others. Perhaps you are running an ancient version?

https://brave.com/privacy-updates-5/

edit: see also: https://www.cookiestatus.com/brave/#referrer

Re:Kids find a security flaw in Linux Mint by mashing keys by merlinscholz on Wednesday January 20, 2021 @09:12AM (#25846619)
Can confirm on android, Linux and windows
Re:Kids find a security flaw in Linux Mint by mashing keys by asddubs on Wednesday January 20, 2021 @02:44PM (#25851010)
just tried it in chrome, i got only one testicle
Re:Kids find a security flaw in Linux Mint by mashing keys by ohiovr on Wednesday January 20, 2021 @09:45AM (#25846995)
Does anyone know how to make this right? Would simply removing the mate-screen-saver package work?
Re:Kids find a security flaw in Linux Mint by mashing keys by sontek on Wednesday January 20, 2021 @08:52AM (#25846412)
haha, yeah. I don't like using URL shorteners either there is just a balance to be made between them tracking you and getting redirected to testicles.

Can't count on everyone having referrer turned off

Re:Kids find a security flaw in Linux Mint by mashing keys by nic_wilson on Wednesday January 20, 2021 @08:03AM (#25845908)
To others, you'll definitely still want to copy paste that URL into a new tab rather than clicking directly. :~)
Re:Kids find a security flaw in Linux Mint by mashing keys by erhan24 on Wednesday January 20, 2021 @08:33AM (#25846206)
Xscreensaver has crashed twice in my life and opened the desktop. That's still a good statistic but it may have crashed because of the animation.
Re:Kids find a security flaw in Linux Mint by mashing keys by throwanem on Wednesday January 20, 2021 @08:38AM (#25846248)
Savers can crash without the screen unlocking. Are you sure it was xscreensaver you were running, and not one of the innumerable incompetent knockoffs?
Re:Kids find a security flaw in Linux Mint by mashing keys by Liskni_si on Wednesday January 20, 2021 @11:10AM (#25848117)
I've also seen some xscreensaver crashes a while ago: https://news.ycombinator.com/item?id=21224179
Re:Kids find a security flaw in Linux Mint by mashing keys by sontek on Wednesday January 20, 2021 @08:53AM (#25846432)
Sounds like you were probably using gnome-screensaver or some of the many other poorly written alternatives like cinnamon that do this. I don't believe there is any way for xscreensaver to unlock the desktop even if it does crash
Re:Kids find a security flaw in Linux Mint by mashing keys by cbsks on Wednesday January 20, 2021 @10:30AM (#25847533)
Incorrect. It’s a limitation of X11 that if the screensaver daemon crashes, including xscreensaver, the desktop will be unlocked. See the JWZ links that are posted in this thread.
Re:Kids find a security flaw in Linux Mint by mashing keys by omoikane on Wednesday January 20, 2021 @06:35PM (#25853346)