-
Notifications
You must be signed in to change notification settings - Fork 114
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
Client Window feature leaks session id in URLs #4189
Comments
@javaserverfaces Commented |
@javaserverfaces Commented |
@edburns Commented https://javaee.groups.io/g/jsf-spec/message/30 Also, please consider joining that group, as that group has taken the Thanks, Ed Burns |
|
Confirming that this issue still exists. This is the exact line of code where the session ID gets appended:
|
This issue was filed against a version that is not maintained by the Eclipse Mojarra project. Ask your vendor for a fix on this specific version. If this bug exists in the current version of Mojarra please open a new issue, add a reproducer using only core Mojarra and if you can create a PR fixing the issue |
With Mojarra the client window identifier is passed along by the jfwid URL parameter between request. Currently the parameter has the format :.
Including the session id in full form in the URL should be avoided to prevent hijacking of the session when URLs are copied/pasted.
A fix could be to either identify the window only by its ID or replace the session id in the URL by a hash of the session id (if the session id still needs to be validated).
This is not a large security issue since it only happens when URLs are somehow copy and pasted and sent to a malicious 3rd party, but ideally it should be avoided.
Environment
2.2
The text was updated successfully, but these errors were encountered: