Git Product home page Git Product logo

Comments (17)

gorhill avatar gorhill commented on September 23, 2024

Is there anybody else affected by this problem?

Me. I need to look into this, I think I had the same problem in HTTPSB, so there is something in there in the cookie management which causes ovezealous deletion of cookies (I'm guessing).

from umatrix.

gorhill avatar gorhill commented on September 23, 2024

What is your settings for session cookies?

I put in tracing code, and so far no session cookies have been deleted.

from umatrix.

 avatar commented on September 23, 2024

In µMatrix - see above. I Chrome I allowed permament cookies for crowdin.com but block 3rd party cookies. Perhaps that's the problem as cloudfront.net might require cookies, too?

from umatrix.

gorhill avatar gorhill commented on September 23, 2024

Ok, I just had a cookie deleted for crowdin.net (not crowdin.com), and then I checked and noticed I was logged out. My crowdin.net cookie is blocked, since it is not 1st-party. So that could be a problem of how Crowdin site is designed. Will repeat and see.

from umatrix.

 avatar commented on September 23, 2024

I think I haven't seen crowdin.net in µMatrix so far. This is how it looks for me:

matrix4

I've now allowed cookies for cloudfront.net. Will see how this works out.

from umatrix.

gorhill avatar gorhill commented on September 23, 2024

I think it was just a fluke: I block 3rd-party cookies, so no way 3rd-party crowdin.net could set a cookie while browsing crowdin.com. Maybe just a leftover cookie for when I was testing while allowing 3rd-party cookies/site data.

from umatrix.

 avatar commented on September 23, 2024

I just saw that allowing cookies for cloudfront.net didn't help either.

from umatrix.

gorhill avatar gorhill commented on September 23, 2024

Ok, I just noticed I was logged out again, and no cookies were deleted.

from umatrix.

gorhill avatar gorhill commented on September 23, 2024

Could it be that thing: https://mc.yandex.ru/metrika/watch.js?

from umatrix.

 avatar commented on September 23, 2024

Perhaps. That's also blocked in µBlock.

from umatrix.

 avatar commented on September 23, 2024

No, it's not. I was logged out again although I had mc.yandex.ru allowed in µMatrix and µBlock was disabled. Must be something else ...

from umatrix.

gorhill avatar gorhill commented on September 23, 2024

Wondering if it is UA-spoofing. I haven't found anything so far done by uMatrix: site cookies are not removed, site local storage are not cleared. Maybe the site uses UA string as an extra variable to determine whether a user logged out. That would be a smart move to help foil attempts at break in.

from umatrix.

gorhill avatar gorhill commented on September 23, 2024

Ok it seems UA-spoofing is the problem: I am no longer being kicked out (so far) after I disabled it.

from umatrix.

 avatar commented on September 23, 2024

Yes, same here. If this is really the culprit - what would be the consequence? Is an exception list necessary for UA-spoofing?

EDIT: Or would it be possible that µMatrix does not apply a new UA for sites currently loaded in a tab? I.e, only for newly loaded sites?

from umatrix.

gorhill avatar gorhill commented on September 23, 2024

Or would it be possible that µMatrix does not apply a new UA for sites currently loaded in a tab?

Not really. A "site" from uMatrix's point of view is a distinct URL, so that would not work. There is no data structure internally for "site".

I was thinking more of a per-scope switch to override global setting. This would fit well in the current infrastructure with a bit of rework which is needed anyway to address similarly #7.

from umatrix.

 avatar commented on September 23, 2024

While we're on it ... I remember that I was logged out from some other sites (among them 1 banking site) in the past - only rarely, but it happened. I had never related those problems to UA-spoofing but those exmples may confirm that other sites use this technique, too.

And you're absolutely right: The best solution is a per-scope-switch, of course.

from umatrix.

 avatar commented on September 23, 2024

This seems to be an attempt to prevent session hijacking, a normal user is unlikely to change the UA while logged in, so its assumed an attacker acquired the session and its terminated

from umatrix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.