Security Request: Fundamentally change the way non-mailto links work

Board for discussions around the Epyrus mail and news client.

Moderator: athenian200

Kris_88
Board Warrior
Board Warrior
Posts: 1171
Joined: 2021-01-26, 11:18

Re: Security Request: Fundamentally change the way non-mailto links work

Post by Kris_88 » 2023-09-26, 14:34

athenian200 wrote:
2023-09-26, 14:02
you've given me enough information about your philosophy on security
Off-topic:
I'm afraid you have drawn the wrong conclusions. I'm not saying that developers should make trust decisions for the user. I'm saying that mechanisms should be developed that allow the user to safely run programs, open links, etc., regardless of whether the user trusts or does not trust. For example, why does the regular Notepad program have access to all my files, and not just the file that I open? Why is there no isolation of programs from each other and from my data? Programs have too much power, so I have to make decisions about trust. The issue of trust becomes very important, and this could have been avoided.
But this is really offtopic...

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 395
Joined: 2017-11-18, 04:24

Re: Security Request: Fundamentally change the way non-mailto links work

Post by Bilbo47 » 2023-09-29, 13:08

Moonchild wrote:
2023-09-25, 13:31
clicking links in e-mail in itself is not an insecure or dangerous operation; the danger happens afterwards and invariably by the user's action.
This is a technical distinction that does nothing to help with the problem. The majority of CVEs are in browsers. That's not completely relevant, but...

For example, the current security hole in WebP/VP8, combined with easy MitM attacks via http (not https). There are many ways to chain some vulnerabilities together to achieve malicious effect, and click-auto-open is frequently the first link in the chain "that can be blamed on the user". User-blame is not reasonable when we're talking about normies.

Drive-by downloads and zero-click executions are a real thing.
Moonchild wrote:
2023-09-25, 13:31
I filed a BZ bug about abuse of page visits to automatically initiate downloads
Cool. Respect.
Moonchild wrote:
2023-09-25, 13:31
should not be a mail client's responsibility.
This security idea should be extended to browsers also, and maybe to anything that is click-navigable. I'm frustrated that anyone would dismiss it so quickly.

User avatar
Moonchild
Project founder
Project founder
Posts: 38922
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Security Request: Fundamentally change the way non-mailto links work

Post by Moonchild » 2023-09-29, 14:51

Bilbo47 wrote:
2023-09-29, 13:08
This is a technical distinction that does nothing to help with the problem.
The distinction is essential, though. It's like saying there's no difference between driving your car on the road and running a red light causing an accident. Technically, you're still driving the car when you run the red light, but the driving itself isn't the problem.
Bilbo47 wrote:
2023-09-29, 13:08
The majority of CVEs are in browsers.
Why? because:
  • The vast majority of CVEs are caused by hostile foreign content
  • Browsers are the main and often only application loading foreign content as a matter of course
  • The web spec is obscenely large and complex and thus has a massive attack surface
Does the fact that it's the largest number of common vulnerabilities say anything about the nature or severity of them? Nope.
Bilbo47 wrote:
2023-09-29, 13:08
click-auto-open is frequently the first link in the chain
To re-use the analogy: starting your car is also the first link in the chain of events leading to an accident. If you never drive, you won't run that red light ;)
As Athenian already pointed out: if you use webmail, there is also click-auto-open on links in e-mails. And in fact, that kind of click is even more hazardous because it is not an isolated URL but involves a full-blown web navigation which send a ton more information to the landing site of that link.
Bilbo47 wrote:
2023-09-29, 13:08
User-blame is not reasonable when we're talking about normies.
User-blame is always reasonable. "Normies" as you so unceremoniously call them still have the responsibility to use their brain when being on the web. If you want to make software that will protect the user from any blame, it by definition cannot be dealing with foreign content you have no control over.
"Normies" will also be suffering from confirmation-fatigue and generally don't care what roadblocks are thrown up because their intent is to visit the link clicked and they will pretty much autopilot through whatever confirmation dialog to make it happen, especially if thrown on every link clicked.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1637
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Security Request: Fundamentally change the way non-mailto links work

Post by athenian200 » 2023-09-29, 21:51

Bilbo47 wrote:
2023-09-29, 13:08
For example, the current security hole in WebP/VP8, combined with easy MitM attacks via http (not https). There are many ways to chain some vulnerabilities together to achieve malicious effect, and click-auto-open is frequently the first link in the chain "that can be blamed on the user". User-blame is not reasonable when we're talking about normies.
The only reason I feel comfortable publishing Epyrus at all, is precisely because I don't expect people like that to use it. If I'm wrong and they are, then maybe I really shouldn't be distributing a program like this... I really don't think I can make Epyrus safe for normies. If that's an expectation people have, maybe I need to have some kind of warning in the installer that it's intended for advanced users? I don't know.

If I were trying to make something safe for normies, I would rip out half the features of Epyrus, use large icons, and basically make it look like a Fisher Price toy, and basically restrict people from doing anything with it other than the simplest things... in other words, I'd make it like every other e-mail client out there.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Moonchild
Project founder
Project founder
Posts: 38922
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Security Request: Fundamentally change the way non-mailto links work

Post by Moonchild » 2023-09-29, 21:56

athenian200 wrote:
2023-09-29, 21:51
The only reason I feel comfortable publishing Epyrus at all, is precisely because I don't expect people like that to use it. If I'm wrong and they are, then maybe I really shouldn't be distributing a program like this... I really don't think I can make Epyrus safe for normies. If that's an expectation people have, maybe I need to have some kind of warning in the installer that it's intended for advanced users? I don't know.
I think "Normies" will use Chrome/Edge to use GMail/Outlook.com or other webmail, anyway. They likely wouldn't be using Epyrus, and if they do they are at least willing to learn, is what I think, so......
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 903
Joined: 2022-08-10, 02:25

Re: Security Request: Fundamentally change the way non-mailto links work

Post by frostknight » 2023-09-29, 22:15

Moonchild wrote:
2023-09-29, 21:56
The majority of CVEs are in browsers.
Off-topic:
We can all thank the creators of java, javascript for making this a million times worse than it needed to be.

Those are beginner programming languages if I recall and only experts should make code for the open web.

If you need people to code the web, it should be people who can use C programming without making only minor errors. That kind of intelligence would work for making the internet good.

Otherwise its like bringing a patient to a butcher so they can be your doctor. Let's just say, that is going to cause a huge problem.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5782
Joined: 2015-12-09, 15:45

Re: Security Request: Fundamentally change the way non-mailto links work

Post by moonbat » 2023-09-29, 22:43

frostknight wrote:
2023-09-29, 22:15
We can all thank the creators of java, javascript.
Please don't confuse the two just because they start with the same 4 letters :coffee:
Java has nothing to do with the end user facing web in browsers; applets were popular for maybe 5 minutes before Flash totally made them irrelevant for dynamic browser content. It is a robust and platform agnostic programming language used primarily on the server side.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 903
Joined: 2022-08-10, 02:25

Re: Security Request: Fundamentally change the way non-mailto links work

Post by frostknight » 2023-09-29, 22:51

moonbat wrote:
2023-09-29, 22:43
frostknight wrote:
2023-09-29, 22:15
We can all thank the creators of java, javascript.
Please don't confuse the two just because they start with the same 4 letters :coffee:
Java has nothing to do with the end user facing web in browsers; applets were popular for maybe 5 minutes before Flash totally made them irrelevant for dynamic browser content. It is a robust and platform agnostic programming language used primarily on the server side.
So adobe java was never a security risk?

Last I checked it was?

Maybe I am mistaken?

Also, there was a Log4j vulnerability that affected millions of apps it was discovered on minecraft ironically.

And they kept trying to fix it but it kept staying broken lol.

Not sure if they fixed it completely yet...
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5782
Joined: 2015-12-09, 15:45

Re: Security Request: Fundamentally change the way non-mailto links work

Post by moonbat » 2023-09-29, 23:11

frostknight wrote:
2023-09-29, 22:51
So adobe java was never a security risk?
It has to exist first to be a security risk. There's no such thing as 'Adobe Java' :roll:
Sun Microsystems developed Java and later Oracle bought them out. Originally Java was used for applets in the browser and like I said, those never really caught on because Flash was a far superior option. Most people could get by without installing the Java runtime and its associated NPAPI plugin.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

User avatar
Moonchild
Project founder
Project founder
Posts: 38922
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Security Request: Fundamentally change the way non-mailto links work

Post by Moonchild » 2023-09-29, 23:19

frostknight wrote:
2023-09-29, 22:51
adobe java
Java was never an Adobe product.
frostknight wrote:
2023-09-29, 22:51
Maybe I am mistaken?
Looks like it! or at least confused about several technologies surrounding web browsers :)
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 903
Joined: 2022-08-10, 02:25

Re: Security Request: Fundamentally change the way non-mailto links work

Post by frostknight » 2023-09-30, 03:06

Moonchild wrote:
2023-09-29, 23:19
frostknight wrote:
2023-09-29, 22:51
adobe java
Java was never an Adobe product.
frostknight wrote:
2023-09-29, 22:51
Maybe I am mistaken?
Looks like it! or at least confused about several technologies surrounding web browsers :)
Off-topic:

Hmm... well its still a bloated programming language regardless. Nothing good comes from overly-complex scope creep. Devuan and Hyperbola devs have made this more obvious as a fact.

They don't use as much and it functions much more efficiently... so.. yeah.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 903
Joined: 2022-08-10, 02:25

Re: Security Request: Fundamentally change the way non-mailto links work

Post by frostknight » 2023-09-30, 03:10

moonbat wrote:
2023-09-29, 23:11
frostknight wrote:
2023-09-29, 22:51
So adobe java was never a security risk?
It has to exist first to be a security risk. There's no such thing as 'Adobe Java' :roll:
Sun Microsystems developed Java and later Oracle bought them out. Originally Java was used for applets in the browser and like I said, those never really caught on because Flash was a far superior option. Most people could get by without installing the Java runtime and its associated NPAPI plugin.
My bad, I got confused. Yes that is what I was thinking of.

Oracle java... not adobe java.

my fail...

xD
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

Kris_88
Board Warrior
Board Warrior
Posts: 1171
Joined: 2021-01-26, 11:18

Re: Security Request: Fundamentally change the way non-mailto links work

Post by Kris_88 » 2023-09-30, 09:53

However, there is a difference between links on web pages and in emails. Links in the letter are intended for a specific recipient and may be not present on any web pages, that is, automatic services for checking sites for viruses may not see these links and other people will not complain. An attacker may have some specific information about the user’s operating system, his set of programs, etc. In general, a special attitude towards links in letters is quite justified.

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 395
Joined: 2017-11-18, 04:24

Re: Security Request: Fundamentally change the way non-mailto links work

Post by Bilbo47 » 2023-10-01, 01:52

athenian200 wrote:
2023-09-29, 21:51
The only reason I feel comfortable publishing Epyrus is precisely because I don't expect [normies] to use it. ... I don't think I can make Epyrus safe
Eeep please don't do any dumbing-down :) The major reason I use Epyrus and other apps around here is precisely because they're aimed at "power users".

User avatar
Navigator
Fanatic
Fanatic
Posts: 158
Joined: 2023-02-24, 17:53

Re: Security Request: Fundamentally change the way non-mailto links work

Post by Navigator » 2023-11-15, 19:44

Moonchild wrote:
2023-09-25, 13:31
In addition, how would this ever help anyone where the links in an e-mail are click-tracking domains (very common practice)? Those never show the target domain either (and while Epyrus shows a potential scam warning in that case, it's pretty much something everyone ignores these days because notification mails, newsletters etc. etc. all employ statistical trackers these days). How could a user know before navigation whether it's a statistical tracker or a malicious site?

My two cents: I block loading of external content in email and rarely click links. I don't ignore those warnings. Not arguing for this feature though.