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

Rights protection bypass in some plugins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.3 RC1
    • 1.1 M3
    • Old Core
    • None

    Description

      In some plugins (at least LDAPPlugin and FeedsPlugin) there is rights check in the PluginAPI but no rights check in the getPlugin() function.
      So anyone will be able to use plugin's fonctions directly, bypassing de PluginAPI checks.
      A fix could be to put rights checks in the getPlugin() function or directly inside plugins.
      But I think the best choice would be to remove the getPlugin() from the PluginAPI, as it's shouldn't be allowed calling plugins directly from a groovy or velocity page.
      WDYT?

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            raffaello Raffaello Pelagalli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: