Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5261

Password hashes dumpable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 6.3-milestone-2, 6.2.3
    • 2.4 M1
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      {{velocity}}
      #set($adminDoc = $xwiki.getDocument('XWiki.Admin'))
      #set($adminObj = $adminDoc.getObject('XWiki.XWikiUsers'))
      $adminDoc.getValue('password', $adminObj)
      {{/velocity}}
      

      IMO view permission means you have permission to view the page and all content.
      If we are to hide passwords I think we should either look toward adding a salt which is kept secret in a config file or moving all passwords into a document which users don't have view access to.
      Otherwise we will forever be adding hacks to patch leak after leak.
      </soapbox>

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              calebjamesdelisle CalebJamesDeLisle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: