Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #4764
Closed
Open
Issue created 9 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

Fusiondirectory exposes bindpw on error

Closed

Fusiondirectory exposes bindpw on error

Hi,

today i got some problems with my fusiondirectory. I tried to login but was welcome with some Error messages from PHP (that's not the problem, or at least not yet ^^)

The problem is, that the PHP error messages also contained the ldap_init with the full bindpw in cleartext. (see a image attached)

I think this is realy bad. The password should at least be stared out.

Hopefully you can do something about this :)

Sincerely, Tobias Göbel

(from redmine: issue id 4764, created on 2016-05-04, closed on 2016-06-09)

  • Changesets:
    • Revision 0fdf2815 by Côme Chilliet on 2016-05-26T09:21:13.000Z:
Fixes #4764 Hide passwords from error traces
  • Revision 5af257fa by Côme Chilliet on 2016-05-30T06:28:03.000Z:
Fixes #4764 Hide passwords from error traces
  • Custom Fields:
    • Bug in version: 1.0.12
  • Uploads:
    • fusiondirectory

Tasks

0
Cannot read properties of undefined (reading 'workItem')

Linked items
...

    Related merge requests

    Activity


    • bmortier
      bmortier @bmortier · 9 years ago
      Author Maintainer

      Just forgot to add informations.

      I'm on Arch Linux and fusiondirectory (split in two different servers one for the web interface, one for the ldap) is version 1.0.11-1

      (from redmine: written on 2016-05-04)

      By kubax on 2017-09-02T15:28:45 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 8 years ago
      Author Maintainer

      So, I added a system to hide parameters of some functions from debug trace. For now these are:

        static $hideArgs = array(
          'ldap_init'         => array(3),
          'ldap_login_user'   => array(1),
          'change_password'   => array(1),
          'cred_decrypt'      => array(0,1),
          'LDAP/__construct'  => array(1),
        );
      

      The array contains the indices of parameters to hide. Do you know of any other method which should hide some parameters from trace?

      (from redmine: written on 2016-05-30)

      By Côme Chilliet on 2017-09-02T15:28:45 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 8 years ago
      Author Maintainer

      Close issue

      (from redmine: written on 2016-06-09)

      By bmortier on 2017-09-02T15:28:45 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By bmortier on 2017-09-02T15:28:46 (imported from GitLab)

    • bmortier added Security label 6 years ago

      added Security label

      By bmortier on 2018-10-04T19:23:10 (imported from GitLab)

    • bmortier added fusiondirectory-core label and removed Bugs label 4 years ago

      added fusiondirectory-core label and removed Bugs label

    • bmortier added FSA-0009 label 4 years ago

      added FSA-0009 label

    • bmortier added FSA-0008 label and removed FSA-0009 label 4 years ago

      added FSA-0008 label and removed FSA-0009 label

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    Assign to
    Labels
    3
    Fixed PJ1802-0188 fusiondirectory-core
    3
    Fixed PJ1802-0188 fusiondirectory-core
      Assign labels
    • Manage project labels

    Milestone
    FusionDirectory 1.1
    FusionDirectory 1.1 (expired)
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference: fusiondirectory/fd#3859