Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICANN/private distinction for PSL-based resource limits #3

Open
quasicomputational opened this issue Sep 7, 2019 · 5 comments
Open

Comments

@quasicomputational
Copy link

quasicomputational commented Sep 7, 2019

The document currently talks about bypassing resource limits by having malicious (or just clueless) sites register themselves as a public suffix, and hence receiving a full resource allocation for each of their cheap-to-set-up subdomains. However, such sites would go into the private section of the PSL. Applying resource limits based on only the ICANN section isn't, to my eyes, obviously flawed in the same way - it fails closed as nodded to already in the document, but at least it doesn't fail open and allow resource exhaustion attacks (as, e.g., same-origin-only resource limits would).

I think that PSL-based resource limits need a bit more discussion. My suggestion is either a demonstration how even only using the ICANN section of the PSL is vulnerable to abuse, or explicit acknowledgement in the FAQ that this is a use-case that the PSL is actually suited to and that PSL alternatives do not (currently) have an answer for.

@sleevi
Copy link
Owner

sleevi commented Sep 7, 2019 via email

@quasicomputational
Copy link
Author

I'm not aware of a user-agent, no. But it's something I was doing in an extension, and, if it's an idea I've had, I'm sure plenty of other people have thought similarly before me.

@sleevi
Copy link
Owner

sleevi commented Sep 7, 2019 via email

@quasicomputational
Copy link
Author

Well, my use-case was where the data is not precious and discarding it was, at worst, mildly annoying rather than breaking; false positives causing data loss in edge cases (which I very much think github.io and appspot.com are) were OK. If that condition doesn't obtain, the dilemma about whether to risk enabling exhaustion attacks or to lose precious data is much harder.

I can definitely appreciate that this isn't the common case (though I also think it's not that uncommon) and the desire not to include all the potential uses/abuses of the PSL, but, considering that the document does already bring up PSL-based resource limits and does use an example that'd be stopped by an ICANN-section-only scheme, I think it could use at least a mention.

@sleevi
Copy link
Owner

sleevi commented Sep 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants