Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29280

Chrome browser username autofill adds username as bindName in LDAP

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 1.580 on CentOs
      ActiveDirectory plugin 1.39
      Chrome browser ver 43.0.235

      Jenkins 2.46.1 on Ubuntu 16.04.2 LTS
      ActiveDirectory plugin 2.4
      Chrome browser ver 57.0.2987.133

      Jenkins 2.46.2
      AD plugin 2.4

      Chromes auto-fill , populates the username and password of any user who has logged in to Jenkins into the 'bindName' , 'bindPassword' field in the Advanced section of 'Active Directory' under Configure Global Security .

      As a result , on saving this ( without noticing ) , no users are able to login .

      The only way to fix this was to manually edit the config.xml to remove the erroneous <bindName> and restart the Jenkins instance .

      Am calling this a bug due to the disruptive nature of the issue ( which called for a restart of the Jenkins service )

      This happens silently as the 'Advanced fields' are not expanded and thus not seen by default .

      Autocomplete/autopopulate should be blocked for the fields in Active Directory plugin to prevent such cases .

      Thanks
      Taher .

          [JENKINS-29280] Chrome browser username autofill adds username as bindName in LDAP

          Taher K F created issue -

          dima kovalenko added a comment - Pull request sent for the fix https://github.com/jenkinsci/active-directory-plugin/pull/14

          Mads Nielsen added a comment -

          This one get my vote as well.

          Mads Nielsen added a comment - This one get my vote as well.

          Code changed in jenkins
          User: Dima Kovalenko
          Path:
          src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/configAdvanced.jelly
          http://jenkins-ci.org/commit/active-directory-plugin/64c7f9db54bbc9a7f90e287595401b25a199ef19
          Log:
          Fixing open issue JENKINS-29280 which autofills AD username/password in browsers

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dima Kovalenko Path: src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/configAdvanced.jelly http://jenkins-ci.org/commit/active-directory-plugin/64c7f9db54bbc9a7f90e287595401b25a199ef19 Log: Fixing open issue JENKINS-29280 which autofills AD username/password in browsers

          Code changed in jenkins
          User: Alex Earl
          Path:
          src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/configAdvanced.jelly
          http://jenkins-ci.org/commit/active-directory-plugin/8ed46fc74b3fb6347b966b6bec3bcf2a6a3d30e2
          Log:
          Merge pull request #14 from dimacus/JENKINS-29280

          Fixing open issue JENKINS-29280 which autofills passwords

          Compare: https://github.com/jenkinsci/active-directory-plugin/compare/1860bdccd963...8ed46fc74b3f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: src/main/resources/hudson/plugins/active_directory/ActiveDirectorySecurityRealm/configAdvanced.jelly http://jenkins-ci.org/commit/active-directory-plugin/8ed46fc74b3fb6347b966b6bec3bcf2a6a3d30e2 Log: Merge pull request #14 from dimacus/ JENKINS-29280 Fixing open issue JENKINS-29280 which autofills passwords Compare: https://github.com/jenkinsci/active-directory-plugin/compare/1860bdccd963...8ed46fc74b3f
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164150 ] New: JNJira + In-Review [ 181528 ]
          Andrew Bayer made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Mayestril added a comment -

          This happened to me on the 20 April 2017. The Bind DN and Bind Password fields were auto-filled without me noticing and I hit save which locked Jenkins up, so I'm reopening this issue.

           

          Jenkins 2.46.1 on Ubuntu 16.04.2 LTS
          ActiveDirectory plugin 2.4 
          Chrome browser ver 57.0.2987.133

          Mayestril added a comment - This happened to me on the 20 April 2017. The Bind DN and Bind Password fields were auto-filled without me noticing and I hit save which locked Jenkins up, so I'm reopening this issue.   Jenkins 2.46.1 on Ubuntu 16.04.2 LTS ActiveDirectory plugin 2.4  Chrome browser ver 57.0.2987.133
          Mayestril made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Fabrizio Cucci made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

            Unassigned Unassigned
            taherkf Taher K F
            Votes:
            13 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated: