Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7256

Action logs could leak passwords if passed as argument or option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.3.2
    • None
    • karaf
    • None

    Description

      If a shell Action take a sensible argument like a password, this password will be visible every time the Action log something.

      The statement is used to set the name of the thread, without obfuscating any arguments or options. The thread name is logged with the default log4j configuration.

      felix-dev/Pipe.java at 3e5671ae7e5107f4f849ef9d5f0a89b1ba9d7439 · apache/felix-dev · GitHub

       

      Using the "censor" property in @Argument or @Option doesn't change anything.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            j3rem1e J. Brébec
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: