[jboss-jira] [JBoss JIRA] (WFLY-6278) Requesting a session with an unexpected character causes request to fail

Paul Ferraro (JIRA) issues at jboss.org
Wed Feb 24 16:04:00 EST 2016


Paul Ferraro created WFLY-6278:
----------------------------------

             Summary: Requesting a session with an unexpected character causes request to fail
                 Key: WFLY-6278
                 URL: https://issues.jboss.org/browse/WFLY-6278
             Project: WildFly
          Issue Type: Bug
          Components: Clustering, Web (Undertow)
    Affects Versions: 10.0.0.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
            Priority: Critical


The root cause of the problem is that the distributed web session code optimizes the marshalling of the session identifier, by using a URL safe Base64 codec.  Because this marshalling happens transparently, when Cache.get(...) goes remote (since the session ID containing an invalid character will never be found locally), the resulting IllegalArgumentException goes undetected - and propagates back to the client.

To prevent this, we need to validate that the requested session ID can be serialized - and if not, respond as if the session was not found.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list