Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2146

function "deploy" only requires DATA:MANAGE privilege, but a malicious user can write a function to change the securityManager and then execute anything

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • docs, security
    • None

    Description

      A simple function would do the following:

      SecurityUtils.setSecurityManager(null);

      This would jeopardize all the security checks afterwards and let user do pretty much everything.

      We should either sandbox the function execution or have deploy require ALL permissions.

      Attachments

        Activity

          People

            jinmeiliao Jinmei Liao
            jinmeiliao Jinmei Liao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: