-
Notifications
You must be signed in to change notification settings - Fork 40
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
Hidden download detection #162
Conversation
content/docs/attacks/navigations.md
Outdated
@@ -35,7 +35,7 @@ To detect if any kind of navigation occurred, an attacker can: | |||
|
|||
When an endpoint sets the [`Content-Disposition: attachment`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) header, it instructs the browser to download the response as an attachment instead of navigating to it. Detecting if this behavior occurred might allow attackers to leak private information if the outcome depends on the state of the victim's account. | |||
|
|||
### Download Navigation (with iframes) | |||
### Download Navigation (without Lax cookies) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't change the headings since if they're linked somewhere then the links will stop working after the changes. Instead, it's probably worth adding hintboxes about the cookie types. Also, I think that it would be worth incorporating into the text how the sandboxed iframe helps in detecting the download.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added the headings back.
- I think stuff about cookie types is meant to go in https://xsleaks.dev/docs/defenses/opt-in/same-site-cookies/
- Added text about why a sandboxed iframe is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some changes to the text.
Adds sandbox to
Download Navigation (with iframes)
to prevent a download, with comment about usingwindow.open
inside it.