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

Protection Mechanism Failure on Warning Banner Escapeable #137

Open
fpietrosanti opened this issue Apr 12, 2014 · 2 comments
Open

Protection Mechanism Failure on Warning Banner Escapeable #137

fpietrosanti opened this issue Apr 12, 2014 · 2 comments
Labels

Comments

@fpietrosanti
Copy link
Contributor

fpietrosanti commented Apr 12, 2014

Description
The product does not use a protection mechanism that provides sufficient defense against directed attacks against the product.

Effort to Fix: 3 - Complex implementation error. Fix is approx. 51-500 lines of code. Up to 5 days to fix.

Recommendations
Using iframes to load the hidden service is believed to be the only solution that will not allow the hidden service to modify the banner.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1614141-protection-mechanism-failure-on-warning-banner-escapeable?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github).
@NSkelsey
Copy link
Contributor

@fpietrosanti do you have anymore background on this issue?

Found the section:

Description

The tor2web warning banner can be escaped or hidden by the site.

Severity Description

An hidden service attacker can hide the warning banner from the user.

Exploitability

HTML or JavaScript can modify the site in various ways to hide the warning banner.
Location
https://anysite.tor2web.org

Attack Vectors

hidden services

Exhibits

In the example below, an attacker can force the banner to load outside of the viewable screen.
screen shot 2016-04-13 at 12 57 56 am

Veracode recommends an IFrame is used, but I have my doubts!

@fpietrosanti
Copy link
Contributor Author

We also come up that iframe is the solution, now also used in iframe embedded for security reasons (doesn't leave history trace when generated client-side with JS) and possibly in future also on globaleaks/GlobaLeaks#964 . We're not having enough time to work on T2W, we really need to give some love to this project once we've finalized the big backlog of OTF and project!

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

No branches or pull requests

2 participants