Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-865

Principal name from realms should not be pure user input

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • None
    • None
    • None

      All security realm now provides user-provided username as realmIdentity principal.
      That can be problem, if identity search is case-insensitive - for example:

      • Lets have filesystem realm on windows - user will write "FIRSTuser", because filesystem is caseinsensitive realm will correctly found "firstUser" - but it can obtain two different NamePrincipals - the same user can act as two different users for application running on AS - it can be security problem
      • the same problem can occure if LDAP search is case-insensitive - not sure, but I think this is case of Active Directory
      • the same can probably occure for JDBC, if database column is defined as case-insensitive

              jkalina@redhat.com Jan Kalina (Inactive)
              jkalina@redhat.com Jan Kalina (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: