You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by djoelz <gi...@git.apache.org> on 2015/08/07 00:29:55 UTC
[GitHub] incubator-zeppelin pull request: ZEPPELIN-173: Zeppelin websocket ...
GitHub user djoelz opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/183
ZEPPELIN-173: Zeppelin websocket server is vulnerable to Cross-Site WebSocket Hijacking
Fixing the socket cross-origin vulnerability as described in the Jira. Overwrote the checkOrigin in the WebSocketServlet class implemented by NotebookServer so that a list of all seen socket Get requests are kept and only Upgrade requests from the same origin will be accepted. Otherwise unauthorized will be returned.
Included basic unit tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/djoelz/incubator-zeppelin master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/183.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #183
----
commit 038cdb1b09d89c4b7b9ce206d6b3613d0475c276
Author: joelz <joelz@joelzlinux.(none)>
Date: 2015-08-06T22:15:21Z
Fix to websocket origin bug
commit 86619a485fc41d095521e170104168ba92e05e9f
Author: joelz <dj...@gmail.com>
Date: 2015-08-06T22:23:51Z
Fixing websocket issue
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: ZEPPELIN-173: Zeppelin websocket ...
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/183#issuecomment-128866384
Hi, Thanks for the contribution.
I've tested this branch and i'm getting websocket connection error.
![screen shot 2015-08-07 at 5 14 57 pm](https://cloud.githubusercontent.com/assets/1540981/9148152/f961258e-3d27-11e5-97d6-f9195f2339c3.png)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: ZEPPELIN-173: Zeppelin websocket ...
Posted by djoelz <gi...@git.apache.org>.
Github user djoelz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/183#issuecomment-128539541
Failed build. attempting fix
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: ZEPPELIN-173: Zeppelin websocket ...
Posted by djoelz <gi...@git.apache.org>.
Github user djoelz closed the pull request at:
https://github.com/apache/incubator-zeppelin/pull/183
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: ZEPPELIN-173: Zeppelin websocket ...
Posted by djoelz <gi...@git.apache.org>.
GitHub user djoelz reopened a pull request:
https://github.com/apache/incubator-zeppelin/pull/183
ZEPPELIN-173: Zeppelin websocket server is vulnerable to Cross-Site WebSocket Hijacking
Fixing the socket cross-origin vulnerability as described in the Jira. Overwrote the checkOrigin in the WebSocketServlet class implemented by NotebookServer so that a list of all seen socket Get requests are kept and only Upgrade requests from the same origin will be accepted. Otherwise unauthorized will be returned.
Included basic unit tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/djoelz/incubator-zeppelin master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/183.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #183
----
commit 038cdb1b09d89c4b7b9ce206d6b3613d0475c276
Author: joelz <joelz@joelzlinux.(none)>
Date: 2015-08-06T22:15:21Z
Fix to websocket origin bug
commit 86619a485fc41d095521e170104168ba92e05e9f
Author: joelz <dj...@gmail.com>
Date: 2015-08-06T22:23:51Z
Fixing websocket issue
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: ZEPPELIN-173: Zeppelin websocket ...
Posted by djoelz <gi...@git.apache.org>.
Github user djoelz closed the pull request at:
https://github.com/apache/incubator-zeppelin/pull/183
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-zeppelin pull request: ZEPPELIN-173: Zeppelin websocket ...
Posted by djoelz <gi...@git.apache.org>.
Github user djoelz commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/183#issuecomment-130067651
Closing due to using the wrong branch
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---