Spring Security
  1. Spring Security
  2. SEC-1744

JaasAuthenticationProvider should not include the authorities in the provided authentication request object

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.6, 3.1.0.RC3, 2.0.7
    • Component/s: None
    • Labels:
      None

      Description

      When used with remoting, JaasAuthenticationProvider is vulnerable to abuse using the techniques in SEC-1741. In particular, it reads the authorities from the supplied request.

      Even if the client is prevented from submitting an authentication object (fix for SEC-1741), I see no reason why this behaviour is necessary.

        Activity

        Hide
        Luke Taylor added a comment -

        Existing authorities are no longer included ion the resulting token.

        Show
        Luke Taylor added a comment - Existing authorities are no longer included ion the resulting token.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Luke Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: