Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-971

connections.xml should not be globally-readable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M8 (2.0.0.v20130628)
    • None
    • studio-connection
    • None
    • Linux

    Description

      Connection parameters are stored in the file connections.xml
      This can include bind DNs and passwords, which are stored in clear text.
      The file is globally-readable, exposing these passwords to great risk.
      Another bug notes that encrypted storage would be better, but please at least set the file mode so that it can only be read by its owner.
      The file is re-created every time a connection is edited, so changing the file mode by hand does not solve the problem. A possible workaround for Linux is:
      chmod 700 ~/.ApacheDirectoryStudio

      Attachments

        Activity

          People

            Unassigned Unassigned
            afindlay Andrew Findlay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: