Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-2718

Failed repository clone with user and password give plaintext view password in popup and logs

XMLWordPrintable

      Description of problem:
      When git repository is cloned incorrectly with a password specified, umasked password is shown in error message and logs

      Version-Release number of selected component (if applicable):
      ER2

      How reproducible:
      Clone a repo with a bad GIT URI and user and password.

      Steps to Reproduce:
      1. Clone repository
      2. fill in invalid GIT URI
      3. fill in user and password
      4. submit

      Actual results:
      Pop up with plain text password and in logs, see below for log message.

      Expected results:
      No passwords plain text anywhere.

      Additional info: (error in logs)
      09:43:54,022 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) Message: CommandType=createRepository:java.lang.String:java.lang.String:java.util.Map:, ErrorTo=org.uberfire.backend.repositories.RepositoryService:RPC.createRepository:java.lang.String:java.lang.String:java.util.Map::Errors:16, ReplyTo=org.uberfire.backend.repositories.RepositoryService:RPC.createRepository:java.lang.String:java.lang.String:java.util.Map::RespondTo:16, ToSubject=org.uberfire.backend.repositories.RepositoryService:RPC, MethodParms=[git, testvalidateurl,

      {username=erics, origin=http://www.schabell.org/fun.git, crypt:password=damnitisplaintext}

      ]

            abakos@redhat.com Alexandre Bakos
            eschabel Eric D. Schabell (Inactive)
            Tomáš Livora Tomáš Livora (Inactive)
            Tomáš Livora Tomáš Livora (Inactive)
            Alexandre Bakos, Edson Tirelli, Rajesh Rajasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: