Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-32342

[RFE] On IPA web interface, obfuscate login failures

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • ipa
    • None
    • Minor
    • sst_idm_ipa
    • ssg_idm

      When doing an incorrect authentication to IPA Web UI, the error differs if the username exists or not.

      Request from an existing account:
      kinit: Password incorrect while getting initial credentials

      Request from a non-existent account:
      kinit: Client 'user@EXAMPLE.NET' not found in Kerberos database while getting initial credentials

      An attacker could use this to find out valid login names and use them in brute force attacks or check them against published passwords dumps.

      The request is to have IPA Web UI substitute this kinit errors for something less explicit, like per example "login failure, check your username and password". As some customers will prefer to maintain the current behaviour, this could be made a configuration option.

      This is intended to only affect the "HTTP/1.1 401 Unauthorized" error message, not the internal logging.

            frenaud@redhat.com Florence Renaud
            rhn-support-ediazten Enrique Diaz-Tendero
            Florence Renaud Florence Renaud
            IPA QE Bot IPA QE Bot
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: